diff options
Diffstat (limited to 'web/app/store/Positions.js')
-rw-r--r-- | web/app/store/Positions.js | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/web/app/store/Positions.js b/web/app/store/Positions.js index 415e26cbe..7de54a8d2 100644 --- a/web/app/store/Positions.js +++ b/web/app/store/Positions.js @@ -13,21 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -(function () { - 'use strict'; - Ext.define('Traccar.store.Positions', { - extend: 'Ext.data.Store', - model: 'Traccar.model.Position', +Ext.define('Traccar.store.Positions', { + extend: 'Ext.data.Store', + model: 'Traccar.model.Position', - proxy: { - type: 'ajax', - url: '/api/position/get', - reader: { - type: 'json', - rootProperty: 'data' - } + proxy: { + type: 'ajax', + url: '/api/position/get', + reader: { + type: 'json', + rootProperty: 'data' } - }); - -})(); + } +}); |