From: Aleksander Ɓukasz Date: Sun, 30 Jun 2013 21:49:29 +0000 (+0200) Subject: Another set of missing semicolons X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/bb42027c8fd9ed17234381d3c366c387a20592f0 Another set of missing semicolons --- diff --git a/fnpjs/layout.js b/fnpjs/layout.js index 5fe61cc..d5fa098 100644 --- a/fnpjs/layout.js +++ b/fnpjs/layout.js @@ -30,7 +30,7 @@ define(['libs/jquery-1.9.1.min', 'libs/underscore-min'], function($ ,_) { }; Layout.prototype.getAsView = function() { - return this.dom + return this.dom; }; return {Layout: Layout}; diff --git a/fnpjs/runner.js b/fnpjs/runner.js index 8cce7d2..817011d 100644 --- a/fnpjs/runner.js +++ b/fnpjs/runner.js @@ -14,7 +14,7 @@ var Runner = function(app, modules) { _.each(_.keys(modules || {}), function(moduleName) { if(_.contains(app.permissions[moduleName] || [], 'handleEvents')) { - eventListeners.push(moduleName) + eventListeners.push(moduleName); } }); @@ -26,22 +26,22 @@ var Runner = function(app, modules) { this.getBootstrappedData = function() { return bootstrappedData[moduleName]; - } + }; this.getTemplate = function(templateName) { return _.template($('[data-template-name="' + moduleName + '.' + templateName + '"]').html().trim()); - } + }; this.publish = function(eventName) { console.log(moduleName + ': ' + eventName); - var eventArgs = Array.prototype.slice.call(arguments, 1) + var eventArgs = Array.prototype.slice.call(arguments, 1); _.each(eventListeners, function(listenerModuleName) { var listener = moduleInstances[listenerModuleName]; if(listener) { listener.handleEvent(moduleName, eventName, eventArgs); } }); - } + }; var permissions = app.permissions[moduleName]; @@ -67,11 +67,11 @@ var Runner = function(app, modules) { app.initModules.forEach(function(moduleName) { getModuleInstance(moduleName).start(); }); - } -} + }; +}; return { Runner: Runner -} +}; }); \ No newline at end of file diff --git a/fnpjs/vbox.js b/fnpjs/vbox.js index a7a5a67..84ac6db 100644 --- a/fnpjs/vbox.js +++ b/fnpjs/vbox.js @@ -6,7 +6,7 @@ define(['libs/jquery-1.9.1.min', './layout'], function($, layout) { VBox.prototype.appendView = function(view) { var item = $('
').addClass('fnpjs-vbox-item').append(view); this.dom.append(item); - } + }; return {VBox: VBox}; diff --git a/views/tabs/tabs.js b/views/tabs/tabs.js index bc14083..2a0bfb9 100644 --- a/views/tabs/tabs.js +++ b/views/tabs/tabs.js @@ -26,7 +26,7 @@ define([ this.nodes = { tabBar: this.$('.rng-view-tabs-tabBar'), content: this.$('.rng-view-tabs-content') - } + }; if(this.options.stacked) { this.nodes.tabBar.addClass('nav-stacked nav-pills').removeClass('nav-tabs'); @@ -103,7 +103,7 @@ define([ return { View: View - } + }; }); \ No newline at end of file