From a3a1990d95b3162ecd404610d176e2cb0bccde3b Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 18 Sep 2015 12:04:59 +1200 Subject: Fix map types class formatting --- web/app/store/MapTypes.js | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'web/app') diff --git a/web/app/store/MapTypes.js b/web/app/store/MapTypes.js index fbdc49acc..5f83940c9 100644 --- a/web/app/store/MapTypes.js +++ b/web/app/store/MapTypes.js @@ -17,10 +17,18 @@ Ext.define('Traccar.store.MapTypes', { extend: 'Ext.data.Store', fields: ['key', 'name'], - data: [ - {'key': 'osm', 'name': strings.mapOsm}, - {'key': 'bingRoad', 'name': strings.mapBingRoad}, - {'key': 'bingAerial', 'name': strings.mapBingAerial}, - {'key': 'custom', 'name': strings.mapCustom}, - ] + + data: [{ + key: 'osm', + name: strings.mapOsm + }, { + key: 'bingRoad', + name: strings.mapBingRoad + }, { + key: 'bingAerial', + name: strings.mapBingAerial + }, { + key: 'custom', + name: strings.mapCustom + }] }); -- cgit v1.2.3