fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Visual editor: moving require.js to libs directory
[fnpeditor.git]
/
modules
/
data.js
diff --git
a/modules/data.js
b/modules/data.js
index
36ba172
..
527b928
100644
(file)
--- a/
modules/data.js
+++ b/
modules/data.js
@@
-1,4
+1,6
@@
-rng.modules.data = function(sandbox) {
\r
+define(function() {
\r
+
\r
+return function(sandbox) {
\r
\r
var doc = sandbox.getBootstrappedData().document;
\r
var document_id = sandbox.getBootstrappedData().document_id;
\r
\r
var doc = sandbox.getBootstrappedData().document;
\r
var document_id = sandbox.getBootstrappedData().document_id;
\r
@@
-61,5
+63,6
@@
rng.modules.data = function(sandbox) {
}
\r
\r
}
\r
}
\r
\r
}
\r
+};
\r
\r
\r
-};
\ No newline at end of file
+}
)
;
\ No newline at end of file