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

Comments

Projects
None yet
5 participants
@sporto
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 justinbmeyer added the Feature label Feb 7, 2014

@justinbmeyer

This comment has been minimized.

Show comment
Hide comment
@justinbmeyer

justinbmeyer Feb 7, 2014

Contributor

Agreed. Adding it to 2.1 milestone.

Contributor

justinbmeyer commented Feb 7, 2014

Agreed. Adding it to 2.1 milestone.

@marshallswain

This comment has been minimized.

Show comment
Hide comment
@marshallswain

marshallswain Feb 10, 2014

Member

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

Member

marshallswain commented Feb 10, 2014

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

@daffl

This comment has been minimized.

Show comment
Hide comment
@daffl

daffl Feb 10, 2014

Contributor

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

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

This comment has been minimized.

Show comment
Hide comment
@marshallswain

marshallswain Feb 11, 2014

Member

That is awesome. Thanks.

Member

marshallswain commented Feb 11, 2014

That is awesome. Thanks.

@shcarrico shcarrico added the Dev Build label Apr 15, 2014

ekryski added a commit to ekryski/canjs that referenced this issue Apr 29, 2014

This was referenced Apr 29, 2014

@daffl daffl closed this in a31f6f3 May 4, 2014

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