I have a telescope based app that uses blaze and a bunch of other packages. I was going to use this package to upload files into a .uploads/tmp file by the client and I cant get it to work after adding it to the app.
The jquery.fileupload.js file and a couple other files are causing an error:
ReferenceError: window is not defined.
Since the jquery.fileupload.js is in the lib folder I understand that it is available in the server and the client, and there is no window in the server so that error makes sense, but why does the package work fine in the sample app, and not in my app? I would love some help getting pointed in the right direction. Thanks so much!
I have a telescope based app that uses blaze and a bunch of other packages. I was going to use this package to upload files into a .uploads/tmp file by the client and I cant get it to work after adding it to the app.
The jquery.fileupload.js file and a couple other files are causing an error: ReferenceError: window is not defined.
Since the jquery.fileupload.js is in the lib folder I understand that it is available in the server and the client, and there is no window in the server so that error makes sense, but why does the package work fine in the sample app, and not in my app? I would love some help getting pointed in the right direction. Thanks so much!