Skip to content

Conversation

@antonyhell
Copy link

There is a problem with defining nextTick function when you use when.js in browser together with Mocha.js 1.9.0

I've just added additional check for existence of method nextTick in process object.
If doesn't change any logic, but fixes the problem.

@briancavalier
Copy link
Member

Ugh, mocha defines a global process function. Bummer. Thanks for the PR, I'll take a look later today.

briancavalier added a commit that referenced this pull request Apr 5, 2013
Fixed behavior in browser when used with mocha.js version 1.9.0
@briancavalier briancavalier merged commit bc5c7e7 into cujojs:master Apr 5, 2013
@antonyhell
Copy link
Author

Thank you for the quick response!

@unscriptable
Copy link
Member

Seems like a safer check, anyways. :)

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

Successfully merging this pull request may close these issues.

3 participants