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

@@ -94,13 +94,13 @@ define([
}
});
App.on('before:start', function (App) {
App.registerBlockType('text', {
App.on('before:start', function (BeforeStartApp) {
BeforeStartApp.registerBlockType('text', {
blockModel: Module.TextBlockModel,
blockView: Module.TextBlockView
});
App.registerWidget({
BeforeStartApp.registerWidget({
name: 'text',
widgetView: Module.TextWidgetView,
priority: 90