Преглед изворни кода

handle case where exports is null

tags/0.7.2
busticated пре 13 година
родитељ
комит
d90d37f25f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Прегледај датотеку

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


Loading…
Откажи
Сачувај