Sfoglia il codice sorgente

Use scope

fix_commonjs
Michael Jackson 13 anni fa
parent
commit
ab93509830
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. +3
    -3
      mustache.js

+ 3
- 3
mustache.js Vedi File

@@ -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…
Annulla
Salva