Fix code style by updated eslint

[MAILPOET-3511]
This commit is contained in:
Jan Lysý
2021-03-26 14:41:04 +01:00
committed by Veljko V
parent 26f6dfa25d
commit 410c25482a
54 changed files with 325 additions and 319 deletions

View File

@ -33,7 +33,6 @@ global.$ = jQuery;
global.jQuery = jQuery;
global.window.jQuery = jQuery;
testHelpers.loadScript('tests/javascript_newsletter_editor/testBundles/vendor.js', global.window);
const Handlebars = global.window.Handlebars;
global.Handlebars = global.window.Handlebars;
@ -186,7 +185,6 @@ testHelpers.loadTemplate('components/sidebar/layout.hbs', window, { id: 'newslet
testHelpers.loadTemplate('components/sidebar/preview.hbs', window, { id: 'newsletter_editor_template_sidebar_preview' });
testHelpers.loadTemplate('components/sidebar/styles.hbs', window, { id: 'newsletter_editor_template_sidebar_styles' });
global.templates = {
styles: Handlebars.compile(jQuery('#newsletter_editor_template_styles').html()),
save: Handlebars.compile(jQuery('#newsletter_editor_template_save').html()),