Sfoglia il codice sorgente

fix variable reference error

tags/0.5.0-vsc
unknown 16 anni fa
parent
commit
17d804b189
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      mustache.js

+ 2
- 2
mustache.js Vedi File

@@ -414,13 +414,13 @@ var Mustache = function() {
.replace(/>/g,'>');
}

var result = this.find(key, contextStack);
var result = this.find(key, contextStack[contextStack.length-1]);
if (result!==undefined) {
this.send_func(escapeHTML(result));
}
},
render_unescaped_variable: function(key, contextStack) {
var result = this.find(key, contextStack);
var result = this.find(key, contextStack[contextStack.length-1]);
if (result!==undefined) {
this.send_func(result);
}


Loading…
Annulla
Salva