humanizeDuration is not in the definition file, so compilation fails.

Removing these since humanizeDuration has been deprecated/removed.
See https://github.com/timrwood/moment/pull/572
This commit is contained in:
Sean Hill
2013-02-15 14:49:12 -06:00
parent 4c5cf3c4b0
commit dfb53f86ec
-7
View File
@@ -126,13 +126,6 @@ moment([2007, 0, 29]).fromNow();
moment([2007, 0, 29]).fromNow();
moment([2007, 0, 29]).fromNow(true);
moment.humanizeDuration(1000 * 60);
moment.humanizeDuration(1, "seconds");
moment.humanizeDuration(60000, true);
moment.humanizeDuration(1, "minutes", true);
moment.humanizeDuration(-60000, true);
moment.humanizeDuration(-1, "minutes", true);
var a8 = moment([2007, 0, 29]);
var b8 = moment([2007, 0, 28]);
a8.diff(b8) ;