-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid calling object #20
Comments
I also get "Invalid calling object" in IE. For me this is not a small issue, though, since in my case it prevents the polyfill from working. I'd be very happy to see a solution soon - thanks! |
Yes, i get this problem in IE11 for a Vue project during development but it works flawlessly when built. |
@paulie4, @occamsraiser, @eeeps, @marchaos Hi guys! First things first, I'm terribly sorry for being such an ass and ignoring all your bug tickets. I had some personal issues to deal with. Now I'm mostly back on track and I'll respond or publish a fix for all of the tickets till the beginning of the next week. @cary-smith, it seems that I see the problem though I don't how to reproduce it. Any ideas on how it can be done so that I can verify that the bug is fixed? Thanks. |
To mirror my setup you could scaffold a VueJS progressive web app project using vue-cli.
Not sure if you are familiar with VueJS, if not add the following to
I am able to reproduce this on demand, by using the |
I am also experiencing this issue in IE11 in a preact/webpack app I am working on. Binding the window object to requestAnimationFrame in src/shims/requestAnimationFrame.js fixes it for me:
Not sure if this is an acceptable solution or not, but it does seem to work without any ill effects. |
@jspath is right which is also similar to the approach taken to fix the vuejs issue. You could also use your Any chance that could be applied? |
I've released a patch in v1.5.0. Sorry that it took me so long. Could anyone confirm that the problem is solved? |
Works like a charm! Thank you for the update. ...And don't apologize for the timing. This has saved me a ton of time and IE11 will hopefully be a memory soon. |
Closing it then. |
First and foremost: Nice implementation!
Second: I really do not want to make a request for IE11 but.....
I have just started to use this to decouple our library from framework cycles (like $digest in angular) but have run into a small issue when hot-reloading while running locally. Due to our use of
use strict
, IE11 cannot figure out what 'this' is for the requestAnimationFrame. This does not affect the final build.It is extremely similar to vuejs/vue#4465
Any chance you would be willing to ensure window objects are referenced? I would make a pull request but seem unable to at the moment.
Thanks!
The text was updated successfully, but these errors were encountered: