From 8a7123706f211669d464071b827c0895d7585dc2 Mon Sep 17 00:00:00 2001 From: Michael Jackson Date: Mon, 15 Apr 2013 09:46:54 -0700 Subject: [PATCH] Group all exports --- mustache.js | 64 +++++++++++++++++++++++++++-------------------------- 1 file changed, 33 insertions(+), 31 deletions(-) diff --git a/mustache.js b/mustache.js index cfb25e6..ff396e7 100644 --- a/mustache.js +++ b/mustache.js @@ -5,26 +5,16 @@ /*global define: false*/ -(function (root, factory) { +(function (root, mustache) { if (typeof exports === "object" && exports) { - module.exports = factory; // CommonJS + module.exports = mustache; // CommonJS } else if (typeof define === "function" && define.amd) { - define(factory); // AMD + define(mustache); // AMD } else { - root.Mustache = factory; //