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

Fixed Mustache getHelper() so that it doesn't need second argument #1178

Merged
merged 1 commit into from Nov 5, 2014

Conversation

jondubois
Copy link
Contributor

Mustache getHelper('helpername') would not work unless you supplied an empty Observe/Map as second argument.

Mustache getHelper('helpername') would not work unless you supplied an empty Observe/Map as second argument.
@daffl daffl added this to the 2.1.4 milestone Jul 25, 2014
@daffl
Copy link
Contributor

daffl commented Nov 3, 2014

Assuming that this is for manually retrieving and calling helpers it looks ok I'll just have to add tests for it.

@m-mujica
Copy link
Contributor

m-mujica commented Nov 5, 2014

@daffl I wrote a test for this https://github.com/bitovi/canjs/tree/test-1178, not sure how do you want to proceed, should I merge this PR in my branch?

@daffl
Copy link
Contributor

daffl commented Nov 5, 2014

Yes, merge the the remote branch in and make sure tests pass. Then we can merge this PR and then yours. Also, we probably want this for Stacheh as well?

daffl added a commit that referenced this pull request Nov 5, 2014
Fixed Mustache getHelper() so that it doesn't need second argument
@daffl daffl merged commit 90360c3 into canjs:master Nov 5, 2014
daffl added a commit that referenced this pull request Nov 5, 2014
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

3 participants