X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/4ae1d665fcd3af9fb06d664418f02f365933d9ae..a15440ff7162c8cc0731e260cf4cacab5b998c62:/modules/data.js diff --git a/modules/data.js b/modules/data.js index 7a59cfb..527b928 100644 --- a/modules/data.js +++ b/modules/data.js @@ -1,12 +1,13 @@ -rng.modules.data = function(sandbox) { +define(function() { + +return function(sandbox) { var doc = sandbox.getBootstrappedData().document; var document_id = sandbox.getBootstrappedData().document_id; if(doc === '') { - doc = '\n\ - '; } @@ -63,5 +63,6 @@ rng.modules.data = function(sandbox) { } } +}; -}; \ No newline at end of file +}); \ No newline at end of file