This website works better with JavaScript.
首頁
探索
說明
登入
jan
/
mustache.js
镜像来自
https://github.com/janl/mustache.js
關註
1
收藏
0
複製
0
程式碼
問題管理
0
版本發佈
46
Wiki
Activity
瀏覽代碼
fixed CommonJS check
QUnit defines module too. If you try to use mustache in a QUnit and AMD environment it won't work
tags/0.6.0
Bastian Bleker
13 年之前
父節點
6d1954cb5c
當前提交
2afdb083fc
共有
1 個文件被更改
,包括
1 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
mustache.js
+ 1
- 1
mustache.js
查看文件
@@ -8,7 +8,7 @@
var Mustache;
(function (exports) {
if (typeof module !== "undefined") {
if (typeof module !== "undefined"
&& typeof module.exports !== "undefined"
) {
module.exports = exports; // CommonJS
} else if (typeof define === "function") {
define(exports); // AMD
Write
Preview
Loading…
取消
儲存