X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/a201669e7bd63f06683f9dc741fd55721ebf4551..a15440ff7162c8cc0731e260cf4cacab5b998c62:/modules/visualEditor.js diff --git a/modules/visualEditor.js b/modules/visualEditor.js index d5ff4b5..c30c282 100644 --- a/modules/visualEditor.js +++ b/modules/visualEditor.js @@ -1,5 +1,6 @@ -rng.modules.visualEditor = function(sandbox) { - var transformations = rng.modules.visualEditor.transformations; +define(['./visualEditor.transformations'], function(transformations) { + +return function(sandbox) { var view = { node: $(sandbox.getTemplate('main')()), @@ -493,4 +494,6 @@ rng.modules.visualEditor = function(sandbox) { } } -}; \ No newline at end of file +}; + +}); \ No newline at end of file