浏览代码

enable partials in dojo & jQuery packages

tags/0.2.1
Jan Lehnardt 16 年前
父节点
当前提交
66db0f390e
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. +2
    -2
      mustache-dojo/mustache.js.tpl.post
  2. +2
    -2
      mustache-jquery/jquery.mustache.js.tpl.post

+ 2
- 2
mustache-dojo/mustache.js.tpl.post 查看文件

@@ -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 查看文件

@@ -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);

正在加载...
取消
保存