From: Iskren Chernev Date: Sat, 9 Nov 2013 17:10:20 +0000 (-0800) Subject: Add all moment static functions to deprecated global export X-Git-Tag: 2.5.0^2~30^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e641f279f3e96093375665b2257ca4c0a01973e;p=thirdparty%2Fmoment.git Add all moment static functions to deprecated global export Fixes #1239 --- diff --git a/moment.js b/moment.js index ab52e62e2..641b1b233 100644 --- a/moment.js +++ b/moment.js @@ -2292,6 +2292,7 @@ } return local_moment.apply(null, arguments); }; + extend(this.moment, local_moment); } else { this['moment'] = moment; }