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

Don't show a warning if a helper method is used in mustache #1306

Merged
merged 1 commit into from Nov 14, 2014

Conversation

moschel
Copy link
Contributor

@moschel moschel commented Nov 5, 2014

fixes #1257

Don't show any can.dev.warn message if a Mustache helper method is accessed.

Can see this in action if you run http://localhost:8000/view/mustache/test.html and comment out can.dev.logLevel = 3. Before the change, you'll see many warnings about helper methods, but none after.

@daffl daffl added this to the 2.1.4 milestone Nov 5, 2014
@justinbmeyer
Copy link
Contributor

Why is missing keys not used? Is there a test?

@daffl daffl self-assigned this Nov 7, 2014
@daffl daffl force-pushed the dont-show-helper-warnings branch 2 times, most recently from db2612a to 6822b58 Compare November 14, 2014 15:19
@daffl daffl removed this from the 2.1.4 milestone Nov 14, 2014
daffl added a commit that referenced this pull request Nov 14, 2014
Don't show a warning if a helper method is used in mustache
@daffl daffl merged commit acc64ec into master Nov 14, 2014
@daffl daffl deleted the dont-show-helper-warnings branch November 14, 2014 15:36
@wclr
Copy link
Contributor

wclr commented Nov 15, 2014

Will it be merge in minor?

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.

Mustache warning on helpers
4 participants