Explorar el Código

Use scope

fix_commonjs
Michael Jackson hace 13 años
padre
commit
ab93509830
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. +3
    -3
      mustache.js

+ 3
- 3
mustache.js Ver fichero

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


Cargando…
Cancelar
Guardar