mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
28 lines
935 B
JavaScript
28 lines
935 B
JavaScript
var require = {
|
|
baseUrl : '[BASEURL]',
|
|
// We only support AMD modules with an explicit define() statement.
|
|
enforceDefine: true,
|
|
skipDataMain: true,
|
|
waitSeconds : 0,
|
|
|
|
paths: {
|
|
jquery: '[JSURL]lib/jquery/jquery-3.6.1[JSMIN][JSEXT]',
|
|
jqueryui: '[JSURL]lib/jquery/ui-1.13.2/jquery-ui[JSMIN][JSEXT]',
|
|
jqueryprivate: '[JSURL]lib/requirejs/jquery-private[JSEXT]'
|
|
},
|
|
|
|
// Custom jquery config map.
|
|
map: {
|
|
// '*' means all modules will get 'jqueryprivate'
|
|
// for their 'jquery' dependency.
|
|
'*': { jquery: 'jqueryprivate' },
|
|
// Stub module for 'process'. This is a workaround for a bug in MathJax (see MDL-60458).
|
|
'*': { process: 'core/first' },
|
|
|
|
// 'jquery-private' wants the real jQuery module
|
|
// though. If this line was not here, there would
|
|
// be an unresolvable cyclic dependency.
|
|
jqueryprivate: { jquery: 'jquery' }
|
|
}
|
|
};
|