X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/5e64f92aabe77137fde16fa8aab604fe1fce5f62..969f365b3ee6d3cb54f98b23e1ebb97df9f801dd:/modules/mainBar/mainBar.js?ds=inline diff --git a/modules/mainBar/mainBar.js b/modules/mainBar/mainBar.js index 084f675..6966e4a 100644 --- a/modules/mainBar/mainBar.js +++ b/modules/mainBar/mainBar.js @@ -11,7 +11,7 @@ return function(sandbox) { view.find('button').click(function(e) { e.preventDefault(); sandbox.publish('cmd.' + $(e.target).attr('data-cmd')); - }) + }); return { start: function() { sandbox.publish('ready'); }, @@ -22,7 +22,7 @@ return function(sandbox) { setVersion: function(version) { view.find('.version').text(version); } - } + }; };