X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/7e51aac084729ec15edc054e7c0bc3b07be05889..24bdad40e7bc8e92fba081cee6bce0aa73db1261:/modules/data.js?ds=sidebyside diff --git a/modules/data.js b/modules/data.js index 36ba172..527b928 100644 --- a/modules/data.js +++ b/modules/data.js @@ -1,4 +1,6 @@ -rng.modules.data = function(sandbox) { +define(function() { + +return function(sandbox) { var doc = sandbox.getBootstrappedData().document; var document_id = sandbox.getBootstrappedData().document_id; @@ -61,5 +63,6 @@ rng.modules.data = function(sandbox) { } } +}; -}; \ No newline at end of file +}); \ No newline at end of file