X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/24bdad40e7bc8e92fba081cee6bce0aa73db1261..2936591f2732b8c8f23c4edffc0f1a7b30d4bcf0:/entrypoint.js 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'