From 2fa0652494c511a87516fd71e363600b3ef0a1a6 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 15 Sep 2015 11:22:56 +1200 Subject: Change model classes formatting --- web/app/model/Command.js | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'web/app/model/Command.js') diff --git a/web/app/model/Command.js b/web/app/model/Command.js index 642e5d13d..45e0a6b96 100644 --- a/web/app/model/Command.js +++ b/web/app/model/Command.js @@ -18,9 +18,13 @@ Ext.define('Traccar.model.Command', { extend: 'Ext.data.Model', identifier: 'negative', - fields: [ - { name: 'deviceId', type: 'int' }, - { name: 'type', type: 'string' }, - { name: 'other' } - ] + fields: [{ + name: 'deviceId', + type: 'int' + }, { + name: 'type', + type: 'string' + }, { + name: 'other' + }] }); -- cgit v1.2.3