Issues (31)

Resources/views/backend/view_snapshots/app.js (1 issue)

Labels
Severity
1
Ext.define('Shopware.apps.ViewSnapshots', {
0 ignored issues
show
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.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
});