Просмотр исходного кода

handle case where exports is null

tags/0.7.2
busticated 13 лет назад
Родитель
Сommit
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


Загрузка…
Отмена
Сохранить