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