X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/24bdad40e7bc8e92fba081cee6bce0aa73db1261..1b8f7d0e5974d649dff89f50f2a26783a29af5d7:/entrypoint.js?ds=inline diff --git a/entrypoint.js b/entrypoint.js index 70659e9..6f81c94 100644 --- a/entrypoint.js +++ b/entrypoint.js @@ -1,5 +1,6 @@ (function() { - + 'use strict'; + requirejs.config({ baseUrl: '/static/editor', @@ -12,6 +13,10 @@ }, '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'] } } @@ -19,7 +24,7 @@ requirejs([ 'libs/jquery-1.9.1.min', - 'runner', + 'fnpjs/runner', 'rng', './modules', 'libs/bootstrap/js/bootstrap.min'