From 8782eeec561e490b4262ba8983e69623daaf5845 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 3 Oct 2015 20:27:15 +1300 Subject: Add space after function keyword --- web/app/controller/Root.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'web/app/controller') diff --git a/web/app/controller/Root.js b/web/app/controller/Root.js index 490019b1a..aa2682708 100644 --- a/web/app/controller/Root.js +++ b/web/app/controller/Root.js @@ -24,7 +24,7 @@ Ext.define('Traccar.controller.Root', { 'Traccar.view.MainMobile' ], - init: function() { + init: function () { var indicator = document.createElement('div'); indicator.className = 'state-indicator'; document.body.appendChild(indicator); @@ -38,14 +38,14 @@ Ext.define('Traccar.controller.Root', { }); }, - onServer: function() { + onServer: function () { Traccar.LoginManager.session({ scope: this, callback: 'onSession' }); }, - onSession: function(success) { + onSession: function (success) { if (success) { this.loadApp(); } else { @@ -59,12 +59,12 @@ Ext.define('Traccar.controller.Root', { } }, - onLogin: function() { + onLogin: function () { this.login.close(); this.loadApp(); }, - loadApp: function() { + loadApp: function () { Ext.getStore('Devices').load(); Ext.getBody().empty(); if (this.isPhone) { -- cgit v1.2.3