Skip to content

Commit

Permalink
Fix compatibility bug in Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
thegrandpoobah committed Apr 27, 2011
1 parent 2395d5c commit 3e98fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mustache.js
Expand Up @@ -459,7 +459,7 @@ var Mustache = (function(undefined) {

for (n = parserContext.tokens.length;parserContext.cursor<n;++parserContext.cursor) {
token = parserContext.tokens[parserContext.cursor];
if (token==='') {
if (token==='' || token===undefined) {
continue;
}

Expand Down

0 comments on commit 3e98fdf

Please sign in to comment.