このサイトはJavaScriptを使用しています
ホーム
エクスプローラー
ヘルプ
サインイン
jan
/
mustache.js
ミラー元
https://github.com/janl/mustache.js
ウォッチ
1
スター
0
フォーク
0
コード
課題
0
リリース
46
Wiki
アクティビティ
ソースを参照
Merge pull request
#380
from skybet/section-with-length-property
Section with "length" property
tags/v1.0.0
David da Silva Contín
11年前
親
77a7ab344c
d9aa703014
コミット
85e43f97d8
4個のファイルの変更
、
6行の追加
、
1行の削除
分割表示
差分オプション
統計情報を表示
Patchファイルをダウンロード
Diffファイルをダウンロード
+1
-1
mustache.js
+3
-0
test/_files/bug_length_property.js
+1
-0
test/_files/bug_length_property.mustache
+1
-0
test/_files/bug_length_property.txt
+ 1
- 1
mustache.js
ファイルの表示
@@ -368,7 +368,7 @@
while (value != null && index < names.length)
value = value[names[index++]];
} else {
} else
if (typeof context.view == 'object')
{
value = context.view[name];
}
+ 3
- 0
test/_files/bug_length_property.js
ファイルの表示
@@ -0,0 +1,3 @@
({
length: 'hello'
})
+ 1
- 0
test/_files/bug_length_property.mustache
ファイルの表示
@@ -0,0 +1 @@
{{#length}}The length variable is: {{length}}{{/length}}
+ 1
- 0
test/_files/bug_length_property.txt
ファイルの表示
@@ -0,0 +1 @@
The length variable is: hello
書き込み
プレビュー
読み込み中…
キャンセル
保存