require.config({ baseUrl : 'js', catchError: true, waitSeconds: , urlArgs : "buster=", config : { context : , text: { useXhr: function(){ return true; }, }, 'ui/themes' : , 'core/tokenHandler' : , //dynamic lib config $config) :?> '' : , }, onNodeCreated: function(node, config, name, url){ node.setAttribute('crossorigin', 'anonymous'); }, paths : { //require-js plugins 'text' : 'lib/text/text', 'json' : 'lib/text/json', 'css' : 'lib/require-css/css', 'tpl' : 'tpl', //jquery and plugins 'jquery' : '../node_modules/jquery/jquery', 'jquery.autocomplete' : 'lib/jquery.autocomplete/jquery.autocomplete', 'jquery.tree' : 'lib/jsTree/jquery.tree', 'jquery.timePicker' : 'lib/jquery.timePicker', 'jquery.cookie' : 'lib/jquery.cookie', 'nouislider' : 'lib/sliders/jquery.nouislider', 'jquery.fileDownload' : 'lib/jquery.fileDownload', // select2 'select2' : '../node_modules/@oat-sa/tao-core-libs/dist/select2', 'select2-origin' : '../node_modules/select2', //polyfills 'polyfill' : 'lib/polyfill', 'url-polyfill' : '../node_modules/url-polyfill/url-polyfill', //libs 'lodash' : '../node_modules/lodash/lodash', 'async' : 'lib/async', 'moment' : '../node_modules/moment/min/moment-with-locales', 'handlebars' : '../node_modules/handlebars/dist/handlebars', 'class' : 'lib/class', 'raphael' : 'lib/raphael/raphael', 'scale.raphael' : 'lib/raphael/scale.raphael', 'spin' : 'lib/spin.min', 'pdfjs-dist/build/pdf' : 'lib/pdfjs/build/pdf', 'pdfjs-dist/build/pdf.worker' : 'lib/pdfjs/build/pdf.worker', 'mathJax' : [ '../../../taoQtiItem/views/js/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML-full', '../../../taoQtiItem/views/js/MathJaxFallback' ], 'ckeditor' : '../node_modules/@oat-sa/tao-core-shared-libs/lib/ckeditor/ckeditor', 'interact' : '../node_modules/interactjs/dist/interact', 'd3' : 'lib/d3js/d3', 'c3' : 'lib/c3js/c3', //locale loader 'i18ntr' : '../locales/', //backward compat aliases 'router' : 'core/router', //extension aliases, and controller loading in prod mode $path) :?> '' : '', 'lib/uuid' : '../node_modules/@oat-sa/tao-core-libs/dist/uuid', 'core' : '../node_modules/@oat-sa/tao-core-sdk/dist/core', 'util' : '../node_modules/@oat-sa/tao-core-sdk/dist/util', 'ui' : '../node_modules/@oat-sa/tao-core-ui/dist' }, "packages": [{ "name": "codemirror", "location": "../../../tao/views/node_modules/codemirror", "main": "lib/codemirror" }], shim : { 'jqueryui' : { deps : ['jquery'] }, 'moment' : { exports : 'moment' }, 'handlebars' : { exports : 'Handlebars' }, 'ckeditor' : { exports : 'CKEDITOR' }, 'ckeditor-jquery' : ['ckeditor'], 'class' : { exports : 'Class'}, 'c3' : { deps : ['d3', 'css!lib/c3js/c3.css']}, 'lib/flatpickr/l10n/index' : { deps: ['lib/flatpickr/flatpickr'] }, 'mathJax' : { exports : "MathJax", init : function(){ if(window.MathJax){ MathJax.Hub.Config({showMathMenu:false, showMathMenuMSIE:false, menuSettings: { inTabOrder: false } }); MathJax.Hub.Startup.onload(); return MathJax; } } } } });