Procházet zdrojové kódy

handle case where exports is null

tags/0.7.2
busticated před 13 roky
rodič
revize
d90d37f25f
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Zobrazit soubor

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

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


Načítá se…
Zrušit
Uložit