aboutsummaryrefslogtreecommitdiff
path: root/web/app/store
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-11-04 14:42:46 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-11-04 14:42:46 +1300
commit4ca21e3fa14c211d3ecbe1f4edb91143373e9595 (patch)
treea98506a08f50ba8cf1db35227f8e882b99bd9817 /web/app/store
parentc3f8353377eedecab9f3b973645e613c9ff2c80a (diff)
downloadtrackermap-web-4ca21e3fa14c211d3ecbe1f4edb91143373e9595.tar.gz
trackermap-web-4ca21e3fa14c211d3ecbe1f4edb91143373e9595.tar.bz2
trackermap-web-4ca21e3fa14c211d3ecbe1f4edb91143373e9595.zip
Fix lint issues
Diffstat (limited to 'web/app/store')
-rw-r--r--web/app/store/AlarmTypes.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/app/store/AlarmTypes.js b/web/app/store/AlarmTypes.js
index 9520359f..1ee7ffe8 100644
--- a/web/app/store/AlarmTypes.js
+++ b/web/app/store/AlarmTypes.js
@@ -19,8 +19,8 @@ Ext.define('Traccar.store.AlarmTypes', {
extend: 'Ext.data.Store',
fields: ['key', 'name'],
- data: function () {
- var items = [];
+ data: (function () {
+ var key, items = [];
for (key in Strings) {
if (Strings.hasOwnProperty(key) && key.lastIndexOf('alarm', 0) === 0) {
items.push({
@@ -30,5 +30,5 @@ Ext.define('Traccar.store.AlarmTypes', {
}
}
return items;
- }()
+ })()
});