瀏覽代碼

Use scope

fix_commonjs
Michael Jackson 13 年之前
父節點
當前提交
ab93509830
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. +3
    -3
      mustache.js

+ 3
- 3
mustache.js 查看文件

@@ -5,15 +5,15 @@

/*global define: false*/

(function (factory) {
(function (root, factory) {
if (typeof exports === "object" && exports) {
factory(exports); // CommonJS
} else if (typeof define === "function" && define.amd) {
define(factory({})); // AMD
} else {
factory(Mustache = {}); // <script>
root.Mustache = factory({}); // <script>
}
})(function (exports) {
})(this, function (exports) {

exports.name = "mustache.js";
exports.version = "0.7.2";


Loading…
取消
儲存