X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/3182d8f5a1642eeac079576083eea86f09c5751a..refs/heads/master:/src/editor/entrypoint.js?ds=inline diff --git a/src/editor/entrypoint.js b/src/editor/entrypoint.js index 528952b..f908206 100644 --- a/src/editor/entrypoint.js +++ b/src/editor/entrypoint.js @@ -4,13 +4,11 @@ /* globals requirejs, editor_init */ requirejs.config({ - baseUrl: '/static/editor/src/editor', - paths: { 'fnpjs': '../fnpjs', 'libs': '../../libs', 'smartxml': '../smartxml', - 'wlxml': '../wlxml', + 'wlxml': '../wlxml' }, @@ -21,13 +19,13 @@ 'libs/underscore': '../../libs/underscore-min', 'libs/bootstrap': '../../libs/bootstrap/js/bootstrap.min', 'libs/backbone': '../../libs/backbone-min', - + 'libs/ace/ace': '../../libs/ace/ace' } }, shim: { '../../libs/jquery-1.9.1.min': { - exports: '$', + exports: '$' }, '../../libs/underscore-min': { exports: '_' @@ -38,9 +36,13 @@ '../../libs/backbone-min': { exports: 'Backbone', deps: ['libs/jquery', 'libs/underscore'] + }, + '../../libs/ace/ace': { + exports: 'ace' } } - + // DEBUGGING ONLY + // , urlArgs: "bust=" + (new Date()).getTime() }); requirejs([