13 'bootstrap/js/bootstrap.min': {
14 deps: ['jquery-1.9.1.min']
19 modules: '/static/editor/modules'
24 var dependenciesList = [
32 'modules/sourceEditor',
33 'modules/tabsManager',
34 'modules/visualEditor',
35 'modules/sourceEditor',
37 'bootstrap/js/bootstrap.min'
40 requirejs(dependenciesList, function ($, runner, rng) {
\r
43 var getModulesFromArguments = function() {
45 var isModule = function(idx) {return dependenciesList[idx].substr(0, 'modules/'.length) === 'modules/';};
46 var moduleName = function(idx) {return dependenciesList[idx].split('/')[1]};
48 for(var i = 0; i < args.length; i++) {
50 toret[moduleName(i)] = args[i];
56 var app = new runner.Runner(rng, getModulesFromArguments());
57 app.setBootstrappedData('data', RNG_BOOTSTRAP_DATA);
58 app.start({rootSelector:'#editor_root'});