Ce site fonctionne mieux avec JavaScript.
Accueil
Explorateur
Aide
Connexion
jan
/
mustache.js
miroir de
https://github.com/janl/mustache.js
Suivre
1
Ajouter aux favoris
0
Bifurcation
0
Code
Tickets
0
Versions
46
Wiki
Activité
Parcourir la source
add a (failing for now) example of loop inside a partial
tags/0.2.3
Damien Mathieu
il y a 16 ans
Parent
5c3a177662
révision
2d574f70dc
4 fichiers modifiés
avec
18 ajouts
et
0 suppressions
Vue séparée
Option de Diff
Voir les Statistiques
Télécharger le Fichier Patch
Télécharger le Fichier des Différences
+6
-0
examples/array_partial.2.html
+1
-0
examples/array_partial.html
+5
-0
examples/array_partial.js
+6
-0
examples/array_partial.txt
+ 6
- 0
examples/array_partial.2.html
Voir le fichier
@@ -0,0 +1,6 @@
Here's a non-sense array of values
{{%IMPLICIT-ITERATOR}}
{{#array}}
{{.}}
{{/array}}
+ 1
- 0
examples/array_partial.html
Voir le fichier
@@ -0,0 +1 @@
{{>partial}}
+ 5
- 0
examples/array_partial.js
Voir le fichier
@@ -0,0 +1,5 @@
var partial_context = {
partial: {
array: ['1', '2', '3', '4']
}
};
+ 6
- 0
examples/array_partial.txt
Voir le fichier
@@ -0,0 +1,6 @@
Here's a non-sense array of values
1
2
3
4
Écrire
Aperçu
Chargement…
Annuler
Enregistrer