X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/4ae1d665fcd3af9fb06d664418f02f365933d9ae..0214643f72c6aaa8e85eaba2ad27f2ca03ca6401:/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