This website works better with JavaScript.
Почетна
Преглед
Помоћ
Пријавите Се
jan
/
mustache.js
огледало од
https://github.com/janl/mustache.js
Прати
1
Волим
0
Креирај огранак
0
Код
Дискусије
0
Издања
46
Вики
Activity
Преглед изворни кода
Add failing test for nested higher-order sections
tags/0.7.2
Michael Jackson
пре 13 година
родитељ
eee8d695fc
комит
b9701d58f5
3 измењених фајлова
са
10 додато
и
0 уклоњено
Подељен поглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+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>
Write
Preview
Loading…
Откажи
Сачувај