Filesaver.js: global saveAs function is not kept properly when filesaver js is loaded twice

Created on 26 Nov 2018  路  1Comment  路  Source: eligrey/FileSaver.js

In FileSaver.js, it seems that the line that starts with: var saveAs = _global.saveAs || has the intention to keep the current saveAs function if it is already defined. Unfortunately that is not the case because after the || there is a ternary function which is missing partheses.

Most helpful comment

@jimmywarting @segovia Sorry to bother, but is there an estimate for when this fix will be released? Thanks!

>All comments

@jimmywarting @segovia Sorry to bother, but is there an estimate for when this fix will be released? Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nomego picture nomego  路  6Comments

ezequiel88 picture ezequiel88  路  4Comments

HR picture HR  路  4Comments

CSchulz picture CSchulz  路  4Comments

HeroSony picture HeroSony  路  5Comments