diff --git a/mustache.js b/mustache.js index 65a07f3..a91432a 100644 --- a/mustache.js +++ b/mustache.js @@ -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 = {}); //