Commit | Line | Data |
---|---|---|
adeb96d2 DW |
1 | var require = { |
2 | baseUrl : '[BASEURL]', | |
3 | // We only support AMD modules with an explicit define() statement. | |
4 | enforceDefine: true, | |
5 | skipDataMain: true, | |
16ddfd5f | 6 | waitSeconds : 0, |
adeb96d2 DW |
7 | |
8 | paths: { | |
d2ae030f | 9 | jquery: '[JSURL]lib/jquery/jquery-3.6.4[JSMIN][JSEXT]', |
c53f9f2d | 10 | jqueryui: '[JSURL]lib/jquery/ui-1.13.2/jquery-ui[JSMIN][JSEXT]', |
adeb96d2 DW |
11 | jqueryprivate: '[JSURL]lib/requirejs/jquery-private[JSEXT]' |
12 | }, | |
13 | ||
14 | // Custom jquery config map. | |
15 | map: { | |
16 | // '*' means all modules will get 'jqueryprivate' | |
17 | // for their 'jquery' dependency. | |
18 | '*': { jquery: 'jqueryprivate' }, | |
7b18365b DW |
19 | // Stub module for 'process'. This is a workaround for a bug in MathJax (see MDL-60458). |
20 | '*': { process: 'core/first' }, | |
adeb96d2 DW |
21 | |
22 | // 'jquery-private' wants the real jQuery module | |
23 | // though. If this line was not here, there would | |
24 | // be an unresolvable cyclic dependency. | |
25 | jqueryprivate: { jquery: 'jquery' } | |
26 | } | |
27 | }; |