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

@@ -8,7 +8,9 @@ define([
'jquery',
'blob',
'file-saver',
'html2canvas'
'html2canvas',
'underscore',
'jquery'
], function(
App,
CommunicationComponent,
@@ -19,8 +21,10 @@ define([
jQuery,
Blob,
FileSaver,
html2canvas
) {
html2canvas,
_,
$
) {
'use strict';
@@ -139,7 +143,7 @@ define([
};
Module.SaveView = Marionette.View.extend({
getTemplate: function() { return templates.save; },
getTemplate: function() { return window.templates.save; },
events: {
'click .mailpoet_save_button': 'save',
'click .mailpoet_save_show_options': 'toggleSaveOptions',