X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/06f085a7b35932bcf2c83b3279d5adc687de908c..a98948280a27e20a66c70d51c814956d2850c357:/modules/sourceEditor.js?ds=sidebyside diff --git a/modules/sourceEditor.js b/modules/sourceEditor.js index 5a62eaf..248c02d 100644 --- a/modules/sourceEditor.js +++ b/modules/sourceEditor.js @@ -1,4 +1,6 @@ -rng.modules.sourceEditor = function(sandbox) { +define(function() { + +return function(sandbox) { var view = $(sandbox.getTemplate('main')()); var isDirty = false; @@ -36,4 +38,6 @@ rng.modules.sourceEditor = function(sandbox) { } } -}; \ No newline at end of file +}; + +}); \ No newline at end of file