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

Doesn't work in internet explorer 9 #680

Closed
ForbesLindesay opened this issue Dec 6, 2012 · 3 comments
Closed

Doesn't work in internet explorer 9 #680

ForbesLindesay opened this issue Dec 6, 2012 · 3 comments

Comments

@ForbesLindesay
Copy link
Contributor

mocha.js#L3850:

if (~props.indexOf(globals[i])) continue;

Throws:

Object doesn't support property or method 'indexOf'
@ForbesLindesay
Copy link
Contributor Author

It also doesn't support bind:

mocha.js#L4237

process.on('uncaughtException', this.uncaught.bind(this));

Throws:

Object doesn't support property or method 'bind'

@tj
Copy link
Contributor

tj commented Dec 6, 2012

we have a indexOf util in there we can use, and the bind is unnecessary I just keep forgetting about IE haha

@ForbesLindesay
Copy link
Contributor Author

Yeh, me too, I'm almost done building a mocha-ci server to help with the problem 😄

tj added a commit that referenced this issue Dec 6, 2012
@tj tj closed this as completed in f427a13 Dec 6, 2012
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