Skip to content

Add the index parameter to when.map()'s callback function, mapFunc. #143

Closed
wants to merge 3 commits into from

2 participants

@jaredcacurak
The Javascript Architectural Toolkit member

If it is decided the inconsistency is to much to bear, here is a solution for issue #134

@briancavalier
The Javascript Architectural Toolkit member

You can either make this a function declaration (prolly the best option) instead of a function expression assignment, or add a semicolon (it fails jshint without the semi ... try npm test).

@briancavalier
The Javascript Architectural Toolkit member

Thanks! Yeah, we'll see where we end up on #134, but def appreciate this!

@briancavalier
The Javascript Architectural Toolkit member

Since there still hasn't been a big outcry for this, I'm gonna close it for now. We can revisit if people start asking for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.