Šī lapa labāk darbojas, ja pārlūkam ir iespējots JavaScript.
Sākums
Izpētīt
Palīdzība
Pierakstīties
jan
/
mustache.js
spogulis no
https://github.com/janl/mustache.js
Vērot
1
Pievienot zvaigznīti
0
Atdalīts
0
Kods
Problēmas
0
Laidieni
46
Vikivietne
Aktivitāte
Pārlūkot izejas kodu
making it more dojo'y, and live in the 'proper' namespace
tags/0.5.0-vsc
Peter Higgins
Jan Lehnardt
<jan@apache.org>
pirms 16 gadiem
vecāks
e4ab54d524
revīzija
faaeaf22af
2 mainītis faili
ar
5 papildinājumiem
un
6 dzēšanām
Dalītais skats
Salīdzināšanas iespējas
Rādīt statistiku
Lejupielādēt ielāpa failu
Lejupielādēt izmaiņu failu
+3
-4
mustache-dojo/mustache.js.tpl.post
+2
-2
mustache-dojo/mustache.js.tpl.pre
+ 3
- 4
mustache-dojo/mustache.js.tpl.post
Parādīt failu
@@ -1,5 +1,4 @@
d.mustache = function(template, view, partials) {
return Mustache.to_html(template, view, partials);
};
})(dojo);
dojox.mustache = dojo.hitch(Mustache, "to_html");
})();
+ 2
- 2
mustache-dojo/mustache.js.tpl.pre
Parādīt failu
@@ -5,5 +5,5 @@ Shameless port of a shameless port
See http://github.com/defunkt/mustache for more info.
*/
dojo.provide("dojox.
string.
mustache");
;
(function(
d
)
{
dojo.provide("dojox.mustach
e._bas
e");
(function(){
Rakstīt
Priekšskatītījums
Notiek ielāde…
Atcelt
Saglabāt