Fix ESLint lines-around-directive ES5
[MAILPOET-1031]
This commit is contained in:
@@ -41,7 +41,6 @@
|
|||||||
"computed-property-spacing": 0,
|
"computed-property-spacing": 0,
|
||||||
"no-plusplus": 0,
|
"no-plusplus": 0,
|
||||||
"array-bracket-spacing": 0,
|
"array-bracket-spacing": 0,
|
||||||
"lines-around-directive": 0,
|
|
||||||
"no-unreachable": 0,
|
"no-unreachable": 0,
|
||||||
"default-case": 0,
|
"default-case": 0,
|
||||||
"no-lonely-if": 0,
|
"no-lonely-if": 0,
|
||||||
|
@@ -4,6 +4,7 @@
|
|||||||
* company: Wysija
|
* company: Wysija
|
||||||
* framework: prototype 1.7.2
|
* framework: prototype 1.7.2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
Event.cacheDelegated = {};
|
Event.cacheDelegated = {};
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
define('helpTooltip', ['mailpoet', 'react', 'react-dom', 'help-tooltip.jsx'],
|
define('helpTooltip', ['mailpoet', 'react', 'react-dom', 'help-tooltip.jsx'],
|
||||||
function (mp, React, ReactDOM, TooltipComponent) {
|
function (mp, React, ReactDOM, TooltipComponent) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var MailPoet = mp;
|
var MailPoet = mp;
|
||||||
|
|
||||||
MailPoet.helpTooltip = {
|
MailPoet.helpTooltip = {
|
||||||
|
@@ -5,6 +5,7 @@ define('i18n',
|
|||||||
mp
|
mp
|
||||||
) {
|
) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var MailPoet = mp;
|
var MailPoet = mp;
|
||||||
|
|
||||||
var translations = {};
|
var translations = {};
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
define('iframe', ['mailpoet'], function(mp) {
|
define('iframe', ['mailpoet'], function(mp) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var MailPoet = mp;
|
var MailPoet = mp;
|
||||||
MailPoet.Iframe = {
|
MailPoet.Iframe = {
|
||||||
marginY: 20,
|
marginY: 20,
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
define('modal', ['mailpoet', 'jquery'],
|
define('modal', ['mailpoet', 'jquery'],
|
||||||
function(mp, jQuery) {
|
function(mp, jQuery) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var MailPoet = mp;
|
var MailPoet = mp;
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
MailPoet Modal:
|
MailPoet Modal:
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
define('mp2migrator', ['mailpoet', 'jquery'], function(mp, jQuery) {
|
define('mp2migrator', ['mailpoet', 'jquery'], function(mp, jQuery) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var MailPoet = mp;
|
var MailPoet = mp;
|
||||||
MailPoet.MP2Migrator = {
|
MailPoet.MP2Migrator = {
|
||||||
|
|
||||||
|
@@ -23,6 +23,7 @@
|
|||||||
}
|
}
|
||||||
}(this, function(Marionette, Radio, _) {
|
}(this, function(Marionette, Radio, _) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var MarionetteApplication = Marionette.Application;
|
var MarionetteApplication = Marionette.Application;
|
||||||
MarionetteApplication.prototype._initChannel = function () {
|
MarionetteApplication.prototype._initChannel = function () {
|
||||||
this.channelName = _.result(this, 'channelName') || 'global';
|
this.channelName = _.result(this, 'channelName') || 'global';
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
define('notice', ['mailpoet', 'jquery'], function(mp, jQuery) {
|
define('notice', ['mailpoet', 'jquery'], function(mp, jQuery) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
/*==================================================================================================
|
/*==================================================================================================
|
||||||
|
|
||||||
MailPoet Notice:
|
MailPoet Notice:
|
||||||
|
Reference in New Issue
Block a user