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