Selaa lähdekoodia

Fix compatibility bug in Chrome

tags/0.5.0-vsc
Sahab Yazdani 15 vuotta sitten
vanhempi
commit
3e98fdf68e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Näytä tiedosto

@@ -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;
}


Loading…
Peruuta
Tallenna