pfafman / meteor-filesaver

A smart package that provides filesaver.js to the Meteor clien
3 stars 4 forks source link

saveAs undefined #1

Closed jgdovin closed 9 years ago

jgdovin commented 9 years ago

I am relying on your package for my html-pdf package in meteor. For some reason the update you did today makes it so that saveAs is not defined in the browser. I haven't taken the time to figure out the cause of this just yet but can look into it in a few.

I am using Google Chrome Version 42.0.2311.90

After adding pfafman:filesaver to project and restarting with version 0.2.0 saveAs in console is undefined. revert to 0.1.0 and saveAs is accessible.

pfafman commented 9 years ago

I forgot to attach it to the window object. See if it works now

pfafman commented 9 years ago

closing