ES5 no-trailing-spaces

This commit is contained in:
Amine Ben hammou
2017-09-21 09:04:47 +00:00
parent c95c2cd1ae
commit 8ebb8e3c02
5 changed files with 7 additions and 8 deletions

View File

@@ -39,7 +39,6 @@
"no-mixed-operators": 0, "no-mixed-operators": 0,
"eqeqeq": 0, "eqeqeq": 0,
"max-len": 0, "max-len": 0,
"no-trailing-spaces": 0,
"global-require": 0, "global-require": 0,
"no-throw-literal": 0, "no-throw-literal": 0,
"no-extra-bind": 0, "no-extra-bind": 0,

View File

@@ -176,7 +176,7 @@ define('mp2migrator', ['mailpoet', 'jquery'], function (mp, jQuery) {
} }
}; };
/** /**
* Actions to run when the DOM is ready * Actions to run when the DOM is ready
*/ */
@@ -187,7 +187,7 @@ define('mp2migrator', ['mailpoet', 'jquery'], function (mp, jQuery) {
jQuery('#import').click(function () { jQuery('#import').click(function () {
MailPoet.MP2Migrator.startImport(); MailPoet.MP2Migrator.startImport();
}); });
// Stop import button // Stop import button
jQuery('#stop-import').click(function () { jQuery('#stop-import').click(function () {
MailPoet.MP2Migrator.stopImport(); MailPoet.MP2Migrator.stopImport();
@@ -202,7 +202,7 @@ define('mp2migrator', ['mailpoet', 'jquery'], function (mp, jQuery) {
jQuery('#goto-welcome').click(function () { jQuery('#goto-welcome').click(function () {
MailPoet.MP2Migrator.gotoWelcomePage(); MailPoet.MP2Migrator.gotoWelcomePage();
}); });
// Update the display // Update the display
MailPoet.MP2Migrator.updateDisplay(); MailPoet.MP2Migrator.updateDisplay();
}); });

View File

@@ -13,7 +13,7 @@ define([
BL.ColorPickerBehavior = Marionette.Behavior.extend({ BL.ColorPickerBehavior = Marionette.Behavior.extend({
onRender: function () { onRender: function () {
var that = this, var that = this,
preferredFormat = 'hex6'; preferredFormat = 'hex6';
this.view.$('.mailpoet_color').each(function () { this.view.$('.mailpoet_color').each(function () {
var $input = that.view.$(this); var $input = that.view.$(this);
@@ -41,7 +41,7 @@ define([
move: updateColorInput, move: updateColorInput,
hide: updateColorInput hide: updateColorInput
}); });
}); });
} }
}); });
}); });

View File

@@ -79,7 +79,7 @@ define([
}); });
}, },
_iconsChanged: function () { _iconsChanged: function () {
App.getChannel().trigger('autoSave'); App.getChannel().trigger('autoSave');
} }
}); });

View File

@@ -273,7 +273,7 @@ define([
var view = this.previewView.render(); var view = this.previewView.render();
this.previewView.$el.css('height', '100%'); this.previewView.$el.css('height', '100%');
MailPoet.Modal.popup({ MailPoet.Modal.popup({
template: '', template: '',
element: this.previewView.$el, element: this.previewView.$el,