Total Complexity | 1 |
Complexity/F | 1 |
Lines of Code | 21 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | Ext.define('Shopware.apps.DneCustomJsCss', { |
||
|
|||
2 | extend:'Enlight.app.SubApplication', |
||
3 | name:'Shopware.apps.DneCustomJsCss', |
||
4 | bulkLoad: true, |
||
5 | loadPath: '{url action=load}', |
||
6 | controllers: ['Main'], |
||
7 | models: [ 'JsCss' ], |
||
8 | views: [ 'main.Window', 'main.List', 'main.Detail' ], |
||
9 | stores: [ 'JsCss' ], |
||
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 | }); |
||
22 |
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.