Make sure the file saver lib is exported into the global scope

This commit is contained in:
Joseph Schorr 2014-04-25 14:16:11 -04:00
parent c6a189001a
commit 97b3a72260

View file

@ -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;