File: main.js

package info (click to toggle)
stellarium 24.3-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 911,396 kB
  • sloc: ansic: 317,377; cpp: 204,602; xml: 48,590; javascript: 26,348; python: 1,254; perl: 1,108; sh: 207; makefile: 190; pascal: 169
file content (31 lines) | stat: -rw-r--r-- 529 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//This is the require.js main file for the main interface
requirejs.config({
	paths: {
		jquery: "jquery-3.6.0"
	},
	//prolong js timeout
	waitSeconds: 60,
	map:{
		//add some fixes to jquery ui
		"*":{
			"jquery-ui":"ui/jqueryuifixes"
		},
		//allow jquery fix to access jquery-ui
		"jquery.ui.touch-punch":{
			"jquery-ui":"jquery-ui"
		}
	},
	shim:{
		"globalize":{
			exports: "Globalize"
		},
		"jquery-ui":{
			deps: ["globalize"]
		},
		"jquery.ui.touch-punch":{
			deps: ["jquery-ui"]
		}
	}
});

require(["ui/mainui"]);