MDL-53454 libraries: upgrade jquery to 1.12.1 version
[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,
6
7 paths: {
f0c0c1ea 8 jquery: '[JSURL]lib/jquery/jquery-1.12.1.min[JSEXT]',
c2260ade 9 jqueryui: '[JSURL]lib/jquery/ui-1.11.4/jquery-ui.min[JSEXT]',
adeb96d2
DW
10 jqueryprivate: '[JSURL]lib/requirejs/jquery-private[JSEXT]'
11 },
12
13 // Custom jquery config map.
14 map: {
15 // '*' means all modules will get 'jqueryprivate'
16 // for their 'jquery' dependency.
17 '*': { jquery: 'jqueryprivate' },
18
19 // 'jquery-private' wants the real jQuery module
20 // though. If this line was not here, there would
21 // be an unresolvable cyclic dependency.
22 jqueryprivate: { jquery: 'jquery' }
23 }
24};