diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-03 20:39:14 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-03 20:39:14 +1300 |
commit | d16121684ecae7646aa87616a64d60978d087bc0 (patch) | |
tree | 69a02f798950bc9ee54e33cdf8ae09fed40168e4 /web/app/store | |
parent | 8782eeec561e490b4262ba8983e69623daaf5845 (diff) | |
download | traccar-server-d16121684ecae7646aa87616a64d60978d087bc0.tar.gz traccar-server-d16121684ecae7646aa87616a64d60978d087bc0.tar.bz2 traccar-server-d16121684ecae7646aa87616a64d60978d087bc0.zip |
Move remaining classes to view
Diffstat (limited to 'web/app/store')
-rw-r--r-- | web/app/store/Languages.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/web/app/store/Languages.js b/web/app/store/Languages.js index 658b7bc21..22685173a 100644 --- a/web/app/store/Languages.js +++ b/web/app/store/Languages.js @@ -18,9 +18,9 @@ Ext.define('Traccar.store.Languages', { extend: 'Ext.data.Store', fields: ['code', 'name'], - data: function () { - var data = []; - for (var code in availableLanguages) { + data: (function () { + var code, data = []; + for (code in availableLanguages) { if (availableLanguages.hasOwnProperty(code)) { data.push({ code: code, @@ -29,5 +29,5 @@ Ext.define('Traccar.store.Languages', { } } return data; - }() + }()) }); |