Update FileSaver library

[MAILPOET-3568]
This commit is contained in:
Rostislav Wolny
2021-07-02 13:34:41 +02:00
committed by Veljko V
parent e6823f137e
commit 7d3b84f27c
3 changed files with 11 additions and 9 deletions

View File

@@ -38,8 +38,10 @@ global._ = _;
testHelpers.loadScript('tests/javascript_newsletter_editor/testBundles/vendor.js', global.window);
const Handlebars = global.window.Handlebars;
global.Handlebars = global.window.Handlebars;
// Fix global access element. It is used in tinymce
// Fix global access for Element. It is used in tinymce
global.Element = global.window.Element;
// Fix global access for HTMLAnchorElement. It is used in FileSaver
global.HTMLAnchorElement = global.window.HTMLAnchorElement;
// Stub out interact.js
global.interact = function () {