ES5 no-trailing-spaces
This commit is contained in:
@@ -39,7 +39,6 @@
|
||||
"no-mixed-operators": 0,
|
||||
"eqeqeq": 0,
|
||||
"max-len": 0,
|
||||
"no-trailing-spaces": 0,
|
||||
"global-require": 0,
|
||||
"no-throw-literal": 0,
|
||||
"no-extra-bind": 0,
|
||||
|
@@ -176,7 +176,7 @@ define('mp2migrator', ['mailpoet', 'jquery'], function (mp, jQuery) {
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Actions to run when the DOM is ready
|
||||
*/
|
||||
@@ -187,7 +187,7 @@ define('mp2migrator', ['mailpoet', 'jquery'], function (mp, jQuery) {
|
||||
jQuery('#import').click(function () {
|
||||
MailPoet.MP2Migrator.startImport();
|
||||
});
|
||||
|
||||
|
||||
// Stop import button
|
||||
jQuery('#stop-import').click(function () {
|
||||
MailPoet.MP2Migrator.stopImport();
|
||||
@@ -202,7 +202,7 @@ define('mp2migrator', ['mailpoet', 'jquery'], function (mp, jQuery) {
|
||||
jQuery('#goto-welcome').click(function () {
|
||||
MailPoet.MP2Migrator.gotoWelcomePage();
|
||||
});
|
||||
|
||||
|
||||
// Update the display
|
||||
MailPoet.MP2Migrator.updateDisplay();
|
||||
});
|
||||
|
@@ -13,7 +13,7 @@ define([
|
||||
|
||||
BL.ColorPickerBehavior = Marionette.Behavior.extend({
|
||||
onRender: function () {
|
||||
var that = this,
|
||||
var that = this,
|
||||
preferredFormat = 'hex6';
|
||||
this.view.$('.mailpoet_color').each(function () {
|
||||
var $input = that.view.$(this);
|
||||
@@ -41,7 +41,7 @@ define([
|
||||
move: updateColorInput,
|
||||
hide: updateColorInput
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
@@ -79,7 +79,7 @@ define([
|
||||
});
|
||||
},
|
||||
_iconsChanged: function () {
|
||||
App.getChannel().trigger('autoSave');
|
||||
App.getChannel().trigger('autoSave');
|
||||
}
|
||||
});
|
||||
|
||||
|
@@ -273,7 +273,7 @@ define([
|
||||
|
||||
var view = this.previewView.render();
|
||||
this.previewView.$el.css('height', '100%');
|
||||
|
||||
|
||||
MailPoet.Modal.popup({
|
||||
template: '',
|
||||
element: this.previewView.$el,
|
||||
|
Reference in New Issue
Block a user