This website works better with JavaScript.
Home
Explore
Help
Sign In
jan
/
mustache.js
mirror of
https://github.com/janl/mustache.js
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
46
Wiki
Activity
Browse Source
Merge branch 'master' of github.com:janl/mustache.js
* 'master' of github.com:janl/mustache.js: making it more dojo'y, and live in the 'proper' namespace
tags/0.5.0-vsc
Jan Lehnardt
16 years ago
parent
286b2dc78a
faaeaf22af
commit
c0273b74b7
2 changed files
with
5 additions
and
6 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-4
mustache-dojo/mustache.js.tpl.post
+2
-2
mustache-dojo/mustache.js.tpl.pre
+ 3
- 4
mustache-dojo/mustache.js.tpl.post
View File
@@ -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
View File
@@ -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(){
Write
Preview
Loading…
Cancel
Save