Make sure the file saver lib is exported into the global scope
This commit is contained in:
parent
c6a189001a
commit
97b3a72260
1 changed files with 1 additions and 0 deletions
|
@ -230,3 +230,4 @@ var saveAs = saveAs
|
|||
// with an attribute `content` that corresponds to the window
|
||||
|
||||
if (typeof module !== 'undefined') module.exports = saveAs;
|
||||
window.saveAs = saveAs;
|
Reference in a new issue