Resources/views/backend/dne_custom_js_css/app.js   A
last analyzed

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 21
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 13
c 0
b 0
f 0
dl 0
loc 21
rs 10
wmc 1
mnd 0
bc 0
fnc 1
bpm 0
cpm 1
noi 1
1
Ext.define('Shopware.apps.DneCustomJsCss', {
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:'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