Fix no-shadow eslint rule in ES5 files

[MAILPOET-1144]
This commit is contained in:
Pavel Dohnal
2017-11-29 14:49:19 +00:00
parent ea552508b4
commit fe0476e1c0
21 changed files with 93 additions and 95 deletions

View File

@@ -353,8 +353,8 @@ define([
return undefined;
};
App.on('before:start', function (App) {
var Application = App;
App.on('before:start', function (BeforeStartApp) {
var Application = BeforeStartApp;
Application.save = Module.save;
Application.getChannel().on('autoSave', Module.autoSave);
@@ -363,9 +363,9 @@ define([
Application.getChannel().reply('save', Application.save);
});
App.on('start', function (App) {
App.on('start', function (BeforeStartApp) {
var saveView = new Module.SaveView();
App._appView.showChildView('bottomRegion', saveView);
BeforeStartApp._appView.showChildView('bottomRegion', saveView);
});
return Module;