dneustadt /
DnViewSnapshots
| 1 | Ext.define('Shopware.apps.ViewSnapshots', { |
||
|
0 ignored issues
–
show
|
|||
| 2 | extend:'Enlight.app.SubApplication', |
||
| 3 | name:'Shopware.apps.ViewSnapshots', |
||
| 4 | bulkLoad: true, |
||
| 5 | loadPath: '{url action=load}', |
||
| 6 | controllers: ['Main'], |
||
| 7 | models: [ 'Snapshot' ], |
||
| 8 | views: [ 'Window', 'Grid' ], |
||
| 9 | stores: [ 'Snapshot' ], |
||
| 10 | |||
| 11 | /** Main Function |
||
| 12 | * @private |
||
| 13 | * @return [object] mainWindow - the main application window based on Enlight.app.Window |
||
| 14 | */ |
||
| 15 | launch: function() { |
||
| 16 | var me = this; |
||
| 17 | var mainController = me.getController('Main'); |
||
| 18 | |||
| 19 | return mainController.mainWindow; |
||
| 20 | } |
||
| 21 | }); |
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.