Просмотр исходного кода

fix variable reference error

tags/0.5.0-vsc
unknown 16 лет назад
Родитель
Сommit
17d804b189
1 измененных файлов: 2 добавлений и 2 удалений
  1. +2
    -2
      mustache.js

+ 2
- 2
mustache.js Просмотреть файл

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


Загрузка…
Отмена
Сохранить