Added `quiet` option to suppress some errors #517

Closed
wants to merge 3 commits into
from

Conversation

Projects
None yet
2 participants

stagas commented Feb 26, 2012

Currently suppresses not defined errors but it can be extended for more if needed. Tests included.
Not sure it's a good idea but I said what the heck :P

Owner

ForbesLindesay commented Jan 9, 2013

Ouch, it's a clever hack, but I don't think it's something we can really include in core. You could always use options.self and refer to self.variable instead of variable you could even put something like - var $ = self; in the first line of your template.

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