Optional automatic prefixing and empty checking #48

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
2 participants
@wellcaffeinated

Added templateSettings.emptycheck for {{=foo}} and {{!foo}} cases.
If true, it will change {{=foo.bar.wow}} to
{{=it.foo&&it.foo.bar&&it.foo.bar.wow||''}}
so that undefined values are input as empty strings

wellcaffeinated added some commits Nov 3, 2012

Optional automatic prefixing and empty checking
Added `templateSettings.emptycheck` for {{=foo}} and {{!foo}} cases. 
If true, it will change {{=foo.bar.wow}} to 
{{=it.foo&&it.foo.bar&&it.foo.bar.wow||''}}
so that undefined values are input as empty strings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment