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
enable partials in dojo & jQuery packages
tags/0.2.1
Jan Lehnardt
16 years ago
parent
dd508d0385
commit
66db0f390e
2 changed files
with
4 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
mustache-dojo/mustache.js.tpl.post
+2
-2
mustache-jquery/jquery.mustache.js.tpl.post
+ 2
- 2
mustache-dojo/mustache.js.tpl.post
View File
@@ -1,5 +1,5 @@
d.mustache = function(template, view) {
return Mustache.to_html(template, view);
d.mustache = function(template, view
, partials
) {
return Mustache.to_html(template, view
, partials
);
};
})(dojo);
+ 2
- 2
mustache-jquery/jquery.mustache.js.tpl.post
View File
@@ -1,6 +1,6 @@
$.mustache = function(template, view) {
return Mustache.to_html(template, view);
$.mustache = function(template, view
, partials
) {
return Mustache.to_html(template, view
, partials
);
};
})(jQuery);
Write
Preview
Loading…
Cancel
Save