ソースを参照

proper undefined check

tags/0.5.0-vsc
unknown 16年前
コミット
d75f981cf9
1個のファイルの変更2行の追加2行の削除
  1. +2
    -2
      mustache.js

+ 2
- 2
mustache.js ファイルの表示

@@ -444,11 +444,11 @@ var Mustache = function() {
var value;
value = this.find(name, contextStack[contextStack.length-1]);
if (value) { return value; }
if (value!==undefined) { return value; }
if (contextStack.length>1) {
value = this.find(name, contextStack[0]);
if (value) { return value; }
if (value!==undefined) { return value; }
}
return undefined;


読み込み中…
キャンセル
保存