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

Fix #3182 (can.List.map doesn't properly handle context arg) #38

Merged
merged 1 commit into from
May 3, 2017

Conversation

dtomack
Copy link
Contributor

@dtomack dtomack commented May 2, 2017

Addresses canjs/canjs#3182. Fixes the issue in both map() and the filter() functions of using a bitwise instead of logical or as a short-circuit to determine the context to be passed to the client callback function.

… the passed context and fixed the code for List.
dtomack added a commit to dtomack/canjs that referenced this pull request May 2, 2017
dtomack added a commit to dtomack/canjs that referenced this pull request May 2, 2017
…n-list#38 with the addition of modifying the map/list code properly pass the client's context if it is provided.
@chasenlehara chasenlehara merged commit 5a6ca90 into canjs:master May 3, 2017
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.

None yet

2 participants