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

Not working in IE11 #10

Open
exophunk opened this issue Jun 19, 2018 · 1 comment
Open

Not working in IE11 #10

exophunk opened this issue Jun 19, 2018 · 1 comment

Comments

@exophunk
Copy link

The plugin is breaking when running in IE11. You can try it with your example page aswell.

Error is: "Invalid calling object"...

@tmarkovic
Copy link

tmarkovic commented Feb 26, 2019

I just bumped into this problem and solved it by replacing Common.isString(dependency) with typeof dependency === 'string'

https://github.com/liabru/matter-js/blob/2ec247b7af1c6b5da6ee05c73274ed5822c73503/src/core/Plugin.js#L242-L244

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