[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/requirejs/ -> moodle-config.js (source)

   1  var require = {
   2      baseUrl : '[BASEURL]',
   3      // We only support AMD modules with an explicit define() statement.
   4      enforceDefine: true,
   5      skipDataMain: true,
   6  
   7      paths: {
   8          jquery: '[JSURL]lib/jquery/jquery-3.1.0.min[JSEXT]',
   9          jqueryui: '[JSURL]lib/jquery/ui-1.11.4/jquery-ui.min[JSEXT]',
  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  };


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1