]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Do not export a global in node.js 1589/head
authorIskren Chernev <iskren.chernev@gmail.com>
Fri, 4 Apr 2014 07:05:04 +0000 (00:05 -0700)
committerIskren Chernev <iskren.chernev@gmail.com>
Fri, 4 Apr 2014 07:05:04 +0000 (00:05 -0700)
moment.js

index 152d0a7b9564e9d4dca91f624d5ebdcd5b2f3b50..85a971e4088e096fa94c580656e55f24308b1eaf 100644 (file)
--- a/moment.js
+++ b/moment.js
     // 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) {