Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

uncaught exception: error: t.headers.entries is not a function (0) #2

Open
wrnice opened this issue May 6, 2016 · 1 comment
Open

Comments

@wrnice
Copy link

wrnice commented May 6, 2016

Hello,

trying to fetch a file using :
function getfile ( filename ) { var deferred = $.Deferred(); var getFile = filename, options = { isPathShared: true , offset: undefined , length: undefined }; Safe.nfs.getFile(getFile, options).then(function(file) { console.log ( 'downloaded :' , file.body ); }); return deferred.promise(); }

I get :

uncaught exception: error: t.headers.entries is not a function (0)

This is on column 17885 in index.js

Any idea what may cause this ? thank you !

By the way, is there a reason why index.js is a single line ? this is... hard to read to say the least :)

@wrnice
Copy link
Author

wrnice commented May 6, 2016

commenting the () seems to do the job

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant