fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup
[fnpeditor.git]
/
entrypoint.js
diff --git
a/entrypoint.js
b/entrypoint.js
index
70659e9
..
f15a832
100644
(file)
--- a/
entrypoint.js
+++ b/
entrypoint.js
@@
-1,6
+1,7
@@
(function() {
(function() {
-
- requirejs.config({
\r
+ 'use strict';
+
+ requirejs.config({
baseUrl: '/static/editor',
shim: {
baseUrl: '/static/editor',
shim: {
@@
-12,14
+13,18
@@
},
'libs/bootstrap/js/bootstrap.min': {
deps: ['libs/jquery-1.9.1.min']
},
'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']
}
}
}
}
-
\r
+
});
requirejs([
'libs/jquery-1.9.1.min',
});
requirejs([
'libs/jquery-1.9.1.min',
- 'runner',
+ '
fnpjs/
runner',
'rng',
'./modules',
'libs/bootstrap/js/bootstrap.min'
'rng',
'./modules',
'libs/bootstrap/js/bootstrap.min'