Fix padded-blocks eslint rule in ES5 files

[MAILPOET-1144]
This commit is contained in:
Pavel Dohnal
2017-11-30 09:12:19 +00:00
parent 0e08e58288
commit 8ea4a219e2
33 changed files with 0 additions and 47 deletions

View File

@@ -27,10 +27,8 @@ define('handlebars_helpers', ['handlebars'], function (Handlebars) {
return window.moment.unix(timestamp).format(f);
}
return window.moment.utc(timestamp).format(f);
}
return timestamp;
});
Handlebars.registerHelper('cycle', function (value, block) {
@@ -89,7 +87,6 @@ define('handlebars_helpers', ['handlebars'], function (Handlebars) {
return value.replace(mailtoMatchingRegex, '');
}
return value;
});
Handlebars.registerHelper('lookup', function (obj, field) {
return obj && obj[field];
@@ -136,7 +133,6 @@ define('handlebars_helpers', ['handlebars'], function (Handlebars) {
return sanitized.substr(0, limit - strAppend.length) + strAppend;
}
return sanitized;
});
Handlebars.registerHelper('getNumber', function (string) {