本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
jan
/
mustache.js
镜像来自
https://github.com/janl/mustache.js
關注
1
收藏
0
複製
0
程式碼
問題
0
版本發佈
46
Wiki
活動
瀏覽代碼
making it more dojo'y, and live in the 'proper' namespace
tags/0.5.0-vsc
Peter Higgins
Jan Lehnardt
<jan@apache.org>
16 年之前
父節點
e4ab54d524
當前提交
faaeaf22af
共有
2 個檔案被更改
,包括
5 行新增
和
6 行删除
分割檢視
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
查看文件
@@ -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.mustach
e._bas
e");
(function(){
Write
Preview
Loading…
取消
儲存