Skip to content

Commit

Permalink
Condense the duration.fn a little bit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rocky Meza committed Jun 10, 2012
1 parent c44b3f0 commit b8eb4db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions moment.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit b8eb4db

Please sign in to comment.