浏览代码

Don't use module.exports

fix_commonjs
Michael Jackson 13 年前
父节点
当前提交
d53e4e38fd
共有 1 个文件被更改,包括 6 次插入8 次删除
  1. +6
    -8
      mustache.js

+ 6
- 8
mustache.js 查看文件

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

/*global define: false*/

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

var exports = {};
})(function (exports) {

exports.name = "mustache.js";
exports.version = "0.7.2";
@@ -532,4 +530,4 @@

return exports;

}())));
});

正在加载...
取消
保存