Resources/views/backend/view_snapshots/store/snapshot.js   A
last analyzed

Complexity

Total Complexity 0
Complexity/F 0

Size

Lines of Code 16
Function Count 0

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 0
nc 1
dl 0
loc 16
rs 10
c 1
b 0
f 0
wmc 0
mnd 0
bc 0
fnc 0
bpm 0
cpm 0
noi 1
1
Ext.define('Shopware.apps.ViewSnapshots.store.Snapshot', {
0 ignored issues
show
Bug introduced by
The variable Ext seems to be never declared. If this is a global, consider adding a /** global: Ext */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
2
    extend: 'Ext.data.Store',
3
    remoteFilter: true,
4
    autoLoad : false,
5
    model : 'Shopware.apps.ViewSnapshots.model.Snapshot',
6
    pageSize: 20,
7
    proxy: {
8
        type: 'ajax',
9
        url: '{url controller="ViewSnapshots" action="list"}',
10
        reader: {
11
            type: 'json',
12
            root: 'data',
13
            totalProperty: 'total'
14
        }
15
    }
16
});
17