This website works better with JavaScript.
Почетна
Преглед
Помоћ
Пријавите Се
jan
/
mustache.js
огледало од
https://github.com/janl/mustache.js
Прати
1
Волим
0
Креирај огранак
0
Код
Дискусије
0
Издања
46
Вики
Activity
Преглед изворни кода
Add test case for recursive partial. If it weren't for complex.html
it could be neat and there'd be s/kids/children/ — Oh well.
tags/0.3.0
Jan Lehnardt
пре 16 година
родитељ
1e7fce2e7a
комит
1f0ca2fe50
3 измењених фајлова
са
4 додато
и
4 уклоњено
Подељен поглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
examples/partial_recursion.html
+1
-1
examples/partial_recursion.js
+1
-1
examples/partial_recursion.txt
+ 2
- 2
examples/partial_recursion.html
Прегледај датотеку
@@ -1,4 +1,4 @@
{{name}}
{{#
children
}}
{{#
kids
}}
{{>partial}}
{{/
children
}}
{{/
kids
}}
+ 1
- 1
examples/partial_recursion.js
Прегледај датотеку
@@ -1,6 +1,6 @@
var partial_context = {
name: '1',
children
: [
kids
: [
{
name: '1.1',
children: [
+ 1
- 1
examples/partial_recursion.txt
Прегледај датотеку
@@ -1,3 +1,3 @@
1
1.1
1.1.1
1.1.1
Write
Preview
Loading…
Откажи
Сачувај