From b8eb4db499e679e3502d16c49b4ad2658681ed31 Mon Sep 17 00:00:00 2001 From: Rocky Meza Date: Sun, 10 Jun 2012 13:34:46 -0600 Subject: [PATCH] Condense the duration.fn a little bit. --- moment.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/moment.js b/moment.js index 60b13d825..c5d0853bc 100644 --- a/moment.js +++ b/moment.js @@ -1036,10 +1036,10 @@ } return output; - } - }; + }, - moment.duration.fn.lang = moment.fn.lang; + lang : moment.fn.lang + }; function makeDurationGetter(name) { moment.duration.fn[name] = function () { -- 2.47.3