Tämä sivusto toimii paremmin JavaScriptillä.
Etusivu
Tutki
Apua
Kirjaudu sisään
jan
/
mustache.js
peilaus alkaen
https://github.com/janl/mustache.js
Tarkkaile
1
Äänestä
0
Fork
0
Koodi
Ongelmat
0
Julkaisut
46
Wiki
Activity
Selaa lähdekoodia
Add failing test for nested higher-order sections
tags/0.7.2
Michael Jackson
13 vuotta sitten
vanhempi
eee8d695fc
commit
b9701d58f5
3 muutettua tiedostoa
jossa
10 lisäystä
ja
0 poistoa
Jaettu näkymä
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
Näytä tiedosto
@@ -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
Näytä tiedosto
@@ -0,0 +1 @@
{{#bold}}{{#person}}My name is {{name}}!{{/person}}{{/bold}}
+ 1
- 0
test/_files/nested_higher_order_sections.txt
Näytä tiedosto
@@ -0,0 +1 @@
<b>My name is Jonas!</b>
Write
Preview
Loading…
Peruuta
Tallenna