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

Dev warning when mustache doesn't find a variable #720

Closed
sporto opened this issue Feb 6, 2014 · 4 comments
Closed

Dev warning when mustache doesn't find a variable #720

sporto opened this issue Feb 6, 2014 · 4 comments

Comments

@sporto
Copy link
Contributor

sporto commented Feb 6, 2014

When using mustache is too easy to have silent errors, for example a template with:

{{user}}

will not show any errors if passed a scope without the user object.

What about warnings about this in dev?

VOTE FOR THIS ISSUE HERE: http://bithub.com/event/25832

@justinbmeyer justinbmeyer added this to the 2.1.0 milestone Feb 7, 2014
@justinbmeyer
Copy link
Contributor

Agreed. Adding it to 2.1 milestone.

@marshallswain
Copy link
Member

In dev? How do you put CanJS in dev mode? Using steal.dev?

@daffl
Copy link
Contributor

daffl commented Feb 10, 2014

You load e.g. can.jquery.dev.js from the download. Also see the blog post about the latest CanJS infrastructure improvements.

@marshallswain
Copy link
Member

That is awesome. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants