diff --git a/mustache.js b/mustache.js index 5ffdfe64e..6460d9755 100644 --- a/mustache.js +++ b/mustache.js @@ -11,8 +11,8 @@ } else if (typeof define === 'function' && define.amd) { define(['exports'], factory); // AMD } else { - global.Mustache = {}; - factory(global.Mustache); // script, wsh, asp + Mustache = {}; + factory(Mustache); // script, wsh, asp } }(this, function mustacheFactory (mustache) {