X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/4ae1d665fcd3af9fb06d664418f02f365933d9ae..df248fcadb1956e5027424ab9e59c41ddd96d3bd:/modules/skelton.js?ds=sidebyside diff --git a/modules/skelton.js b/modules/skelton.js index 3141459..28780f2 100644 --- a/modules/skelton.js +++ b/modules/skelton.js @@ -1,4 +1,6 @@ -rng.modules.skelton = function(sandbox) { +define(function() { + +return function(sandbox) { var view = $(sandbox.getTemplate('main')()); @@ -28,4 +30,6 @@ rng.modules.skelton = function(sandbox) { view.find('[data-cmd='+cmd+']').removeClass('disabled'); } } -}; \ No newline at end of file +}; + +}); \ No newline at end of file