Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

resumable and phantomjs conflict #22

Closed
pociej opened this issue Oct 2, 2014 · 6 comments
Closed

resumable and phantomjs conflict #22

pociej opened this issue Oct 2, 2014 · 6 comments

Comments

@pociej
Copy link

pociej commented Oct 2, 2014

as in title when you have any file collection with reasumable : true, and visible on client sidem phantomjs return TypeError: 'undefined' is not a function (evaluating 'share.setup_resumable.bind(this)').

@pociej pociej changed the title reasumable and phantomjs confict reasumable and phantomjs conflict Oct 2, 2014
@pociej pociej changed the title reasumable and phantomjs conflict resumable and phantomjs conflict Oct 2, 2014
@vsivsi
Copy link
Owner

vsivsi commented Oct 2, 2014

Thanks for reporting this issue. I am able to reproduce this... Looking into it now.

@vsivsi
Copy link
Owner

vsivsi commented Oct 2, 2014

Okay, the issue is that the version of Javascript in phantomJS is old, and doesn't implement Function.prototype.bind. See: ariya/phantomjs#10522

This issue will supposedly go away with phantomjs v2.0

In the meantime, it looks like it can be fixed by using a polyfill, see for example: ariya/phantomjs#10522 (comment)

Please let me know if that fixes it for you.

@vsivsi
Copy link
Owner

vsivsi commented Oct 2, 2014

Sorry, I meant to add that I just checked the potential fix into master. Please try it out and if it solves your problem I'll publish a new version of the package as soon as I hear back.

@pociej
Copy link
Author

pociej commented Oct 3, 2014

thx a lot , 0.3.3 solves issue !

@pociej pociej closed this as completed Oct 3, 2014
@vsivsi
Copy link
Owner

vsivsi commented Oct 3, 2014

Great, I'll publish it to atmosphere shortly.

@vsivsi
Copy link
Owner

vsivsi commented Oct 9, 2014

@pociej v0.3.3 is live on Atmosphere. Sorry for the delay, I was trying to fix another sticky problem in this release.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants