Skip to content
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

Internet Explorer 11: "Object doesn't support property or method 'assign'" #9

Closed
Demy opened this issue Jul 18, 2018 · 4 comments
Closed

Comments

@Demy
Copy link

Demy commented Jul 18, 2018

The plugin works well in Chrome, but throws these errors in IE 11.

TypeError: Object doesn't support property or method 'assign'
   at mounted (eval code:2175:5)
   at callHook (eval code:2916:9)
   at insert (eval code:4149:7)
   at invokeInsertHook (eval code:5944:9)
   at patch (eval code:6163:5)
   at Vue.prototype._update (eval code:2665:7)
   at updateComponent (eval code:2783:7)
   at get (eval code:3137:5)
   at run (eval code:3214:5)
   at flushSchedulerQueue (eval code:2976:5)
TypeError: Unable to get property 'unload' of undefined or null reference
   at beforeDestroy (eval code:2180:5)
   at callHook (eval code:2916:9)
   at Vue.prototype.$destroy (eval code:2695:5)
   at destroy (eval code:4169:9)
   at invokeDestroyHook (eval code:5727:59)
   at invokeDestroyHook (eval code:5732:9)
   at invokeDestroyHook (eval code:5732:9)
   at invokeDestroyHook (eval code:5732:9)
   at patch (eval code:6065:30)
   at Vue.prototype.$destroy (eval code:2718:5)
@Demy
Copy link
Author

Demy commented Jul 18, 2018

Oh, i found the reason: IE doesn't support "{}" in import:
import {vueVimeoPlayer} from 'vue-vimeo-player'
But how can I use
import vueVimeoPlayer from 'vue-vimeo-player'
instead?
With this way of importing tag
<vue-vimeo-player>
or
<vueVimeoPlayer>
doesn't work.

@dobromir-hristov
Copy link
Owner

Yeah. I used buble which does not add polyfills for Object.assign.
Will add a polyfill later today.

Importing like that does not work, because the component is not exported that way.

@dobromir-hristov
Copy link
Owner

@Demy
Copy link
Author

Demy commented Jul 18, 2018

That worked like a charm! Thank you so much for your work!

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

No branches or pull requests

2 participants