X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/39aef1850307018fab6670a2c64b6f2ba0f574ae..064901239c2478c0fa4763812771cb370c76742d:/entrypoint.js 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([