X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/24bdad40e7bc8e92fba081cee6bce0aa73db1261..180f53abbd6b75c4e17681bec2301d23422bea9c:/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'