Skip to content

Conversation

@jhnns
Copy link

@jhnns jhnns commented Nov 12, 2013

If when was called with only one promise, the resolver was immediately called:

_.when( [ _.Deferred() ] ).then( function () {
    console.log("2");
} );
console.log("1");

printed

2
1

All tests are running, but I haven't added a test for this bug because I'm not sure where to put it.

Could you please also bump the version and publish it?

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.

1 participant