X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/39aef1850307018fab6670a2c64b6f2ba0f574ae..058eee1d91537d6b060be9f5eb5433287e7303fc:/entrypoint.js?ds=inline diff --git a/entrypoint.js b/entrypoint.js index ac80979..f15a832 100644 --- a/entrypoint.js +++ b/entrypoint.js @@ -1,6 +1,7 @@ (function() { - - requirejs.config({ + 'use strict'; + + requirejs.config({ baseUrl: '/static/editor', shim: { @@ -12,9 +13,13 @@ }, '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([