From 99d132dc78b42b6cc5833b3a7faf30d2fe56186f Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 4 Oct 2015 18:23:32 +1300 Subject: Disable JavaScript strict mode --- web/app/store/Attributes.js | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'web/app/store/Attributes.js') diff --git a/web/app/store/Attributes.js b/web/app/store/Attributes.js index a63701fdc..2019582e5 100644 --- a/web/app/store/Attributes.js +++ b/web/app/store/Attributes.js @@ -13,16 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -(function () { - 'use strict'; - Ext.define('Traccar.store.Attributes', { - extend: 'Ext.data.Store', - model: 'Traccar.model.Attribute', +Ext.define('Traccar.store.Attributes', { + extend: 'Ext.data.Store', + model: 'Traccar.model.Attribute', - sorters: [{ - property: 'priority' - }] - }); - -})(); + sorters: [{ + property: 'priority' + }] +}); -- cgit v1.2.3