Переглянути джерело

Merge pull request #243 from kannix/patch-1

more stringent CommonJS check
tags/0.6.0
Michael Jackson 13 роки тому
джерело
коміт
2a51eeffba
1 змінених файлів з 1 додано та 1 видалено
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Переглянути файл

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

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


Завантаження…
Відмінити
Зберегти