Explorar el Código

handle case where exports is null

tags/0.7.2
busticated hace 13 años
padre
commit
d90d37f25f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Ver fichero

@@ -6,7 +6,7 @@
/*global define: false*/ /*global define: false*/


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


Cargando…
Cancelar
Guardar