]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Condense the duration.fn a little bit.
authorRocky Meza <rocky@fusionbox.com>
Sun, 10 Jun 2012 19:34:46 +0000 (13:34 -0600)
committerRocky Meza <rocky@fusionbox.com>
Sun, 10 Jun 2012 19:34:46 +0000 (13:34 -0600)
moment.js

index 60b13d8255f7637e0ec256568cc57c264e63a46f..c5d0853bcd6f32eb275fdacb64d3b824be37b985 100644 (file)
--- a/moment.js
+++ b/moment.js
             }
 
             return output;
-        }
-    };
+        },
 
-    moment.duration.fn.lang = moment.fn.lang;
+        lang : moment.fn.lang
+    };
 
     function makeDurationGetter(name) {
         moment.duration.fn[name] = function () {