このサイトはJavaScriptを使用しています
ホーム
エクスプローラー
ヘルプ
サインイン
jan
/
mustache.js
ミラー元
https://github.com/janl/mustache.js
ウォッチ
1
スター
0
フォーク
0
コード
課題
0
リリース
46
Wiki
アクティビティ
ソースを参照
Add failing test for nested higher-order sections
tags/0.7.2
Michael Jackson
13年前
親
eee8d695fc
コミット
b9701d58f5
3個のファイルの変更
、
10行の追加
、
0行の削除
分割表示
差分オプション
統計情報を表示
Patchファイルをダウンロード
Diffファイルをダウンロード
+8
-0
test/_files/nested_higher_order_sections.js
+1
-0
test/_files/nested_higher_order_sections.mustache
+1
-0
test/_files/nested_higher_order_sections.txt
+ 8
- 0
test/_files/nested_higher_order_sections.js
ファイルの表示
@@ -0,0 +1,8 @@
({
bold: function () {
return function (text, render) {
return '<b>' + render(text) + '</b>';
};
},
person: { name: 'Jonas' }
});
+ 1
- 0
test/_files/nested_higher_order_sections.mustache
ファイルの表示
@@ -0,0 +1 @@
{{#bold}}{{#person}}My name is {{name}}!{{/person}}{{/bold}}
+ 1
- 0
test/_files/nested_higher_order_sections.txt
ファイルの表示
@@ -0,0 +1 @@
<b>My name is Jonas!</b>
書き込み
プレビュー
読み込み中…
キャンセル
保存