From: Iskren Chernev Date: Sun, 27 Oct 2013 02:18:03 +0000 (-0700) Subject: Fix globally-exporter wrapper X-Git-Tag: 2.4.0~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4ae791a469ffb2f955377c137c553baeb5afd3a;p=thirdparty%2Fmoment.git Fix globally-exporter wrapper --- diff --git a/moment.js b/moment.js index a5d5df95b..8d8723edb 100644 --- a/moment.js +++ b/moment.js @@ -2288,7 +2288,7 @@ "deprecated, and will be removed in an upcoming " + "release."); } - local_moment.apply(null, arguments); + return local_moment.apply(null, arguments); }; } else { this['moment'] = moment;