ES5 no-unused-vars

This commit is contained in:
Amine Ben hammou
2017-09-25 21:39:30 +00:00
parent cb1730c4e2
commit c90e0e9f64
33 changed files with 112 additions and 162 deletions

View File

@@ -1,12 +1,10 @@
define([
'mailpoet',
'jquery',
'parsleyjs'
'jquery'
],
function (
MailPoet,
jQuery,
Parsley
jQuery
) {
jQuery(function ($) {
function isSameDomain(url) {
@@ -20,7 +18,7 @@ function (
$('form.mailpoet_form').each(function () {
var form = $(this);
form.parsley().on('form:validated', function (parsley) {
form.parsley().on('form:validated', function() {
// clear messages
form.find('.mailpoet_message > p').hide();
@@ -84,4 +82,4 @@ function (
});
});
});
});
});