S JavaScriptem funguje tato webová stránka lépe.
Domů
Procházet
Nápověda
Přihlásit se
jan
/
mustache.js
zrcadlo
https://github.com/janl/mustache.js
Sledovat
1
Oblíbit
0
Rozštěpit
0
Zdrojový kód
Úkoly
0
Vydání
46
Wiki
Aktivita
Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
262
Revize
19
Větve
33MB
Strom:
470b02798c
8-as-legacy
master
remove-build-output-from-git
0.4.x
browser-tests-on-8
fix_commonjs
gh-pages
greenkeeper-chai-3.4.0
greenkeeper-chai-4.0.0
greenkeeper-chai-4.0.1
greenkeeper-eslint-1.5.1
greenkeeper-mocha-2.3.3
greenkeeper-mocha-3.3.0
greenkeeper-mocha-3.4.0
greenkeeper-pin
helpers
new-build-system
parser-rewrite
with-js-extras
v4.2.0
v4.1.0
v4.0.1
v4.0.0
v3.2.1
v3.2.0
v3.1.0
v3.0.3
v3.0.2
v3.0.1
v3.0.0
v2.3.2
v2.3.1
v2.3.0
v2.2.1
v2.2.0
v2.1.3
v2.1.2
v2.1.1
v2.1.0
v2.0.0
v1.2.0
v1.1.0
v1.0.0
0.8.2
0.8.1
0.8.0
0.7.3
0.7.2
0.7.1
0.7.0
0.6.0
0.5.2
0.5.2-vsc
0.5.1
0.5.1-vsc
0.5.0-vsc
0.4.2
0.4.1
0.4.0
0.3.0
0.2.3
0.2.2
0.2.1
0.2
0.1
Větve
Značky
${ item.name }
Vytvořit větev
${ searchTerm }
z „470b02798c“
${ noResults }
mustache.js
/
examples
/
array_of_partials_partial.html
array_of_partials_partial.html
59B
Surový
Normální zobrazení
Historie
Partials within list sections did not seem to be functioning correctly. Since a list section pushes a sub-object of the "view" into the "current" context, a partial should recognize this altered context. The one-line change in mustache.js does exactly this. Closes #35.
před 16 roky
1
2
3
4
Here is some stuff!
{{#numbers}}
{{>partial}}
{{/numbers}}