Join GitHub today
Case-insensitive tag lookup #50
Basically, template tags are forced in to lower case before being looked up on the contextual data object.
Unfortunately, I'm not sure if this is currently possible with mustache.js but some further bespoke customisation may provide a solution.
Embedded documentation will also need to be updated to state that they are case-insensitive.
Predefined templates should be changed to reflect these changes.
name = this.trim(name).toLowerCase();
Obviously, the properties will now need to be hard coded in lowercase instead. I think this is limited to the following methods;