Total Complexity | 1 |
Complexity/F | 1 |
Lines of Code | 24 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | Ext.define('Shopware.apps.ViewSnapshots.view.Window', { |
||
|
|||
2 | extend: 'Enlight.app.Window', |
||
3 | title: 'View Snapshots', |
||
4 | alias: 'widget.view-snapshot-window', |
||
5 | border: false, |
||
6 | autoShow: true, |
||
7 | height: 650, |
||
8 | width: 925, |
||
9 | layout: 'fit', |
||
10 | |||
11 | initComponent: function() { |
||
12 | var me = this; |
||
13 | me.items = [ |
||
14 | { |
||
15 | xtype: 'view-snapshot-window', |
||
16 | store: me.store, |
||
17 | flex: 1 |
||
18 | } |
||
19 | ]; |
||
20 | |||
21 | me.callParent(arguments); |
||
22 | } |
||
23 | |||
24 | }); |
||
25 | |||
26 |
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.