Przeglądaj źródła

fix variable reference error

tags/0.5.0-vsc
unknown 16 lat temu
rodzic
commit
17d804b189
1 zmienionych plików z 2 dodań i 2 usunięć
  1. +2
    -2
      mustache.js

+ 2
- 2
mustache.js Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz