MDL-53454 libraries: upgrade jquery to 1.12.1 version
[moodle.git] / lib / requirejs / moodle-config.js
1 var require = {
2     baseUrl : '[BASEURL]',
3     // We only support AMD modules with an explicit define() statement.
4     enforceDefine: true,
5     skipDataMain: true,
7     paths: {
8         jquery: '[JSURL]lib/jquery/jquery-1.12.1.min[JSEXT]',
9         jqueryui: '[JSURL]lib/jquery/ui-1.11.4/jquery-ui.min[JSEXT]',
10         jqueryprivate: '[JSURL]lib/requirejs/jquery-private[JSEXT]'
11     },
13     // Custom jquery config map.
14     map: {
15       // '*' means all modules will get 'jqueryprivate'
16       // for their 'jquery' dependency.
17       '*': { jquery: 'jqueryprivate' },
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 };