X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/24bdad40e7bc8e92fba081cee6bce0aa73db1261..6ec6461eaba0dfa50a065dac18eb7cc6455cb827:/entrypoint.js?ds=inline diff --git a/entrypoint.js b/entrypoint.js index 70659e9..f15a832 100644 --- a/entrypoint.js +++ b/entrypoint.js @@ -1,6 +1,7 @@ (function() { - - requirejs.config({ + 'use strict'; + + requirejs.config({ baseUrl: '/static/editor', shim: { @@ -12,14 +13,18 @@ }, 'libs/bootstrap/js/bootstrap.min': { deps: ['libs/jquery-1.9.1.min'] + }, + 'libs/backbone-min': { + exports: 'Backbone', + deps: ['libs/jquery-1.9.1.min', 'libs/underscore-min'] } } - + }); requirejs([ 'libs/jquery-1.9.1.min', - 'runner', + 'fnpjs/runner', 'rng', './modules', 'libs/bootstrap/js/bootstrap.min'