aboutsummaryrefslogtreecommitdiff
path: root/web/app/Application.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-03 20:27:15 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-03 20:27:15 +1300
commit8782eeec561e490b4262ba8983e69623daaf5845 (patch)
tree6cb8c6ccb1b4db249133d71fc521155f63b241ca /web/app/Application.js
parent458809c4ee29e3410686bf6d8c80c746caf9724f (diff)
downloadtrackermap-server-8782eeec561e490b4262ba8983e69623daaf5845.tar.gz
trackermap-server-8782eeec561e490b4262ba8983e69623daaf5845.tar.bz2
trackermap-server-8782eeec561e490b4262ba8983e69623daaf5845.zip
Add space after function keyword
Diffstat (limited to 'web/app/Application.js')
-rw-r--r--web/app/Application.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/web/app/Application.js b/web/app/Application.js
index def000f04..a0e61338f 100644
--- a/web/app/Application.js
+++ b/web/app/Application.js
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-(function() {
+(function () {
"use strict";
Ext.define('Traccar.Application', {
@@ -53,29 +53,29 @@
'Root'
],
- setUser: function(data) {
+ setUser: function (data) {
var reader = Ext.create('Ext.data.reader.Json', {
model: 'Traccar.model.User'
});
this.user = reader.readRecords(data).getRecords()[0];
},
- getUser: function() {
+ getUser: function () {
return this.user;
},
- setServer: function(data) {
+ setServer: function (data) {
var reader = Ext.create('Ext.data.reader.Json', {
model: 'Traccar.model.Server'
});
this.server = reader.readRecords(data).getRecords()[0];
},
- getServer: function() {
+ getServer: function () {
return this.server;
},
- getPreference: function(key, defaultValue) {
+ getPreference: function (key, defaultValue) {
return this.getUser().get(key) || this.getServer().get(key) || defaultValue;
}
});