Przeglądaj źródła

Use scope

fix_commonjs
Michael Jackson 13 lat temu
rodzic
commit
ab93509830
1 zmienionych plików z 3 dodań i 3 usunięć
  1. +3
    -3
      mustache.js

+ 3
- 3
mustache.js Wyświetl plik

@@ -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";


Ładowanie…
Anuluj
Zapisz