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

Simplify CommonJS check

tags/0.7.0
Michael Jackson 13 лет назад
Родитель
Сommit
1159c236ef
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Просмотреть файл

@@ -8,7 +8,7 @@
var Mustache;

(function (exports) {
if (typeof module !== "undefined" && typeof module.exports !== "undefined") {
if (typeof module !== "undefined" && module.exports) {
module.exports = exports; // CommonJS
} else if (typeof define === "function") {
define(exports); // AMD


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