X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/24bdad40e7bc8e92fba081cee6bce0aa73db1261..1d8d7b5fad1547bc2356f2e69e18ca597c969d9b:/entrypoint.js 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'