瀏覽代碼

Merge pull request #243 from kannix/patch-1

more stringent CommonJS check
tags/0.6.0
Michael Jackson 13 年之前
父節點
當前提交
2a51eeffba
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +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


Loading…
取消
儲存