on-demand release 4.0dev+
[moodle.git] / lib / requirejs / moodle-config.js
CommitLineData
adeb96d2
DW
1var 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: {
f667bdfb
SA
9 jquery: '[JSURL]lib/jquery/jquery-3.6.0[JSMIN][JSEXT]',
10 jqueryui: '[JSURL]lib/jquery/ui-1.13.0/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};