Fix ES5 no-extra-semi eslint rule [MAILPOET-1030]

This commit is contained in:
stoletniy
2017-09-04 09:20:15 +03:00
committed by pavel-mailpoet
parent 027418a86c
commit e347fc74a2
4 changed files with 4 additions and 5 deletions

View File

@@ -32,7 +32,6 @@
"no-redeclare": 0,
"no-console": 0,
"no-empty": 0,
"no-extra-semi": 0,
"no-useless-escape": 0,
"wrap-iife": 0,
"no-unused-expressions": 0,

View File

@@ -756,7 +756,7 @@ WysijaForm.Block = Class.create({
this.element.addClassName('hover');
try {
this.getControls().show();
} catch(e) {;
} catch(e) {
}
}
},

View File

@@ -5,7 +5,7 @@ define('handlebars_helpers', ['handlebars'], function(Handlebars) {
output = '';
for(var i = 0; i < size; i++) {
output += arguments[i];
};
}
return output;
});
@@ -28,7 +28,7 @@ define('handlebars_helpers', ['handlebars'], function(Handlebars) {
}
} else {
return timestamp;
};
}
});
Handlebars.registerHelper('cycle', function(value, block) {

View File

@@ -931,7 +931,7 @@ define(
+ '</span> '
);
preventNextStep = true;
};
}
});
if (preventNextStep && !jQuery('.mailpoet_invalidDate').length) {
MailPoet.Notice.error(MailPoet.I18n.t('columnContainsInvalidDate'), {