Fix errors in some browsers such Android #121

Merged
merged 2 commits into from Oct 5, 2012
View
@@ -57,7 +57,7 @@ function createRenderFunc(code) {
// Add this template as a parent to all includes in its scope
'_parents.push(this.id);',
code,
- 'return _output;',
@paularmstrong
paularmstrong Oct 5, 2012 Owner

I wonder why nodelint didn't catch this. I may investigate further.

+ 'return _output;'
].join(''));
}
View
@@ -4,7 +4,7 @@ _.extend(exports, {
autoescape: require('./tags/autoescape'),
block: require('./tags/block'),
'else': require('./tags/else'),
- extends: require('./tags/extends'),
+ "extends": require('./tags/extends'),
@paularmstrong
paularmstrong Oct 5, 2012 Owner

Actually, same thing here. JSLint/Nodelint probably need to be updated to warn on these. I'll take that as an action to look into.

filter: require('./tags/filter'),
'for': require('./tags/for'),
'if': require('./tags/if'),