Skip to content

Commit 66db0f3

Browse files
committed
enable partials in dojo & jQuery packages
1 parent dd508d0 commit 66db0f3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

mustache-dojo/mustache.js.tpl.post

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
d.mustache = function(template, view) {
3-
return Mustache.to_html(template, view);
2+
d.mustache = function(template, view, partials) {
3+
return Mustache.to_html(template, view, partials);
44
};
55
})(dojo);
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

2-
$.mustache = function(template, view) {
3-
return Mustache.to_html(template, view);
2+
$.mustache = function(template, view, partials) {
3+
return Mustache.to_html(template, view, partials);
44
};
55

66
})(jQuery);

0 commit comments

Comments
 (0)