From 3460f1ef671dccaaec5a0ffe5a3c572225cc1e0a Mon Sep 17 00:00:00 2001 From: Simas Toleikis Date: Thu, 26 Nov 2015 11:25:10 +0200 Subject: [PATCH] Fix inconsistency in defining global mustache object. --- mustache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mustache.js b/mustache.js index cad9ebb..56de2d5 100644 --- a/mustache.js +++ b/mustache.js @@ -12,7 +12,7 @@ define(['exports'], factory); // AMD } else { global.Mustache = {}; - factory(Mustache); // script, wsh, asp + factory(global.Mustache); // script, wsh, asp } }(this, function mustacheFactory (mustache) {