From 4e641f279f3e96093375665b2257ca4c0a01973e Mon Sep 17 00:00:00 2001 From: Iskren Chernev Date: Sat, 9 Nov 2013 09:10:20 -0800 Subject: [PATCH] Add all moment static functions to deprecated global export Fixes #1239 --- moment.js | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.47.2