Parcourir la source

Use scope

fix_commonjs
Michael Jackson il y a 13 ans
Parent
révision
ab93509830
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. +3
    -3
      mustache.js

+ 3
- 3
mustache.js Voir le fichier

@@ -5,15 +5,15 @@

/*global define: false*/

(function (factory) {
(function (root, factory) {
if (typeof exports === "object" && exports) {
factory(exports); // CommonJS
} else if (typeof define === "function" && define.amd) {
define(factory({})); // AMD
} else {
factory(Mustache = {}); // <script>
root.Mustache = factory({}); // <script>
}
})(function (exports) {
})(this, function (exports) {

exports.name = "mustache.js";
exports.version = "0.7.2";


Chargement…
Annuler
Enregistrer