From: Iskren Chernev Date: Fri, 4 Apr 2014 07:05:04 +0000 (-0700) Subject: Do not export a global in node.js X-Git-Tag: 2.6.0~10^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c7acf62d4d9c72bfae079446e0c20274bcb1438;p=thirdparty%2Fmoment.git Do not export a global in node.js --- diff --git a/moment.js b/moment.js index 152d0a7b9..85a971e40 100644 --- a/moment.js +++ b/moment.js @@ -2445,7 +2445,6 @@ // CommonJS module is defined if (hasModule) { module.exports = moment; - makeGlobal(true); } else if (typeof define === "function" && define.amd) { define("moment", function (require, exports, module) { if (module.config && module.config() && module.config().noGlobal !== true) {