From fc5492b75072e917f986ace6264fc35dc7f4eb9c Mon Sep 17 00:00:00 2001 From: mightyplow Date: Sun, 4 Sep 2016 16:04:19 +0200 Subject: [PATCH] return mustache object from factory When using amdclean to create a footprint less javascript file, the object needs to be returned to let it properly be assigned to the created script variable. --- mustache.js | 1 + 1 file changed, 1 insertion(+) diff --git a/mustache.js b/mustache.js index 53ec2723f..2fafaaf39 100644 --- a/mustache.js +++ b/mustache.js @@ -626,4 +626,5 @@ mustache.Context = Context; mustache.Writer = Writer; + return mustache; }));