瀏覽代碼

making it more dojo'y, and live in the 'proper' namespace

tags/0.5.0-vsc
Peter Higgins Jan Lehnardt <jan@apache.org> 16 年之前
父節點
當前提交
faaeaf22af
共有 2 個檔案被更改,包括 5 行新增6 行删除
  1. +3
    -4
      mustache-dojo/mustache.js.tpl.post
  2. +2
    -2
      mustache-dojo/mustache.js.tpl.pre

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

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

@@ -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.mustache._base");
(function(){

Loading…
取消
儲存