diff --git a/mustache.js b/mustache.js index 700f536..be3d01a 100644 --- a/mustache.js +++ b/mustache.js @@ -9,9 +9,9 @@ if (typeof exports === "object" && exports) { factory(exports); // CommonJS } else if (typeof define === "function" && define.amd) { - define(factory({})); // AMD + define(['exports'], factory); // AMD } else { - global.Mustache = factory({}); //