-
Notifications
You must be signed in to change notification settings - Fork 332
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
IE11 Object expected #49
Comments
I figured this out I just added a check that el was defined here:
All working great in IE 11 now! |
Got the same error today. I found out Babelify transform this source code:
In to this:
Which causes the "Object expected" error. I believe it got something to do with Symbol.iterator. Found some related articles:
Still figuring out what the best solution will be... Using a polyfill, prevent Babelify to transform this code etc. |
I fixed it by replacing the iteratee code within v-tooltip.umd.js to the following:
Because the source is already transpiled by Babelify, this seems like the best option for me. I've learned that Babelify transforms this code in to iteratee code because "for .. of" loop is used. Is it maybe possible to add this change within a next release of v-tooltip? It's a minor change and it fixes compatibility issues with IE10 and 11 without the need of a polyfill etc. |
Hey @Akryum - any ETA on when this will be fixed? I'd rather not fork but this is kind of a blocker for me. Thanks! |
@michaelpelletier Just forked it and made a PR. Also made a release branch which has the compiled dist files if you need it for npm install etc https://github.com/superdav42/v-tooltip#FixIERelease |
Hi,
I've tested in IE11 and am seeing this 👍
Object expected
I'm using the IE pollyfills here: <script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=default,Array.prototype.includes"></script>
Any ideas?
Cheers! If you need any further info please let me know.
The text was updated successfully, but these errors were encountered: