Fix eslint no-undef in ES5

[MAILPOET-1085]
This commit is contained in:
Pavel Dohnal
2017-09-05 17:29:48 +01:00
parent 9e932c9078
commit f77620d649
30 changed files with 284 additions and 299 deletions

View File

@@ -1,8 +1,9 @@
define([
'newsletter_editor/App',
'backbone.marionette',
'backbone.supermodel'
], function(App, Marionette, SuperModel) {
'backbone.supermodel',
'underscore'
], function(App, Marionette, SuperModel, _) {
'use strict';
@@ -47,7 +48,7 @@ define([
});
Module.StylesView = Marionette.View.extend({
getTemplate: function() { return templates.styles; },
getTemplate: function() { return window.templates.styles; },
modelEvents: {
change: 'render'
},