X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/4ae1d665fcd3af9fb06d664418f02f365933d9ae..bc66743b16ddd321649f243f0294ed26bc25ee3e:/modules/rng.js diff --git a/modules/rng.js b/modules/rng.js index 36bd2f8..6068d4d 100644 --- a/modules/rng.js +++ b/modules/rng.js @@ -1,12 +1,15 @@ -rng.modules.rng = function(sandbox) { +define(function() { +return function(sandbox) { + 'use strict'; + function addTab(title, slug, view) { sandbox.getModule('tabsManager').addTab(title, slug, view); } /* Events handling */ - eventHandlers = {}; + var eventHandlers = {}; eventHandlers.skelton = { ready: function() { @@ -94,4 +97,6 @@ rng.modules.rng = function(sandbox) { } } } -}; \ No newline at end of file +}; + +}); \ No newline at end of file