Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
var require = {
2
    baseUrl : '[BASEURL]',
3
    // We only support AMD modules with an explicit define() statement.
4
    enforceDefine: true,
5
    skipDataMain: true,
6
    waitSeconds : 0,
7
 
8
    paths: {
9
        jquery: '[JSURL]lib/jquery/jquery-3.7.1[JSMIN][JSEXT]',
10
        jqueryui: '[JSURL]lib/jquery/ui-1.13.2/jquery-ui[JSMIN][JSEXT]',
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' },
19
      // Stub module for 'process'. This is a workaround for a bug in MathJax (see MDL-60458).
20
      '*': { process: 'core/first' },
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
};