Parcourir la source

Fix compatibility bug in Chrome

tags/0.5.0-vsc
Sahab Yazdani il y a 15 ans
Parent
révision
3e98fdf68e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Voir le fichier

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


Chargement…
Annuler
Enregistrer