aboutsummaryrefslogtreecommitdiffstats
path: root/library/moment/src/lib/duration/prototype.js
diff options
context:
space:
mode:
Diffstat (limited to 'library/moment/src/lib/duration/prototype.js')
-rw-r--r--library/moment/src/lib/duration/prototype.js48
1 files changed, 0 insertions, 48 deletions
diff --git a/library/moment/src/lib/duration/prototype.js b/library/moment/src/lib/duration/prototype.js
deleted file mode 100644
index 0257ff9b5..000000000
--- a/library/moment/src/lib/duration/prototype.js
+++ /dev/null
@@ -1,48 +0,0 @@
-import { Duration } from './constructor';
-
-var proto = Duration.prototype;
-
-import { abs } from './abs';
-import { add, subtract } from './add-subtract';
-import { as, asMilliseconds, asSeconds, asMinutes, asHours, asDays, asWeeks, asMonths, asYears, valueOf } from './as';
-import { bubble } from './bubble';
-import { get, milliseconds, seconds, minutes, hours, days, months, years, weeks } from './get';
-import { humanize } from './humanize';
-import { toISOString } from './iso-string';
-import { lang, locale, localeData } from '../moment/locale';
-
-proto.abs = abs;
-proto.add = add;
-proto.subtract = subtract;
-proto.as = as;
-proto.asMilliseconds = asMilliseconds;
-proto.asSeconds = asSeconds;
-proto.asMinutes = asMinutes;
-proto.asHours = asHours;
-proto.asDays = asDays;
-proto.asWeeks = asWeeks;
-proto.asMonths = asMonths;
-proto.asYears = asYears;
-proto.valueOf = valueOf;
-proto._bubble = bubble;
-proto.get = get;
-proto.milliseconds = milliseconds;
-proto.seconds = seconds;
-proto.minutes = minutes;
-proto.hours = hours;
-proto.days = days;
-proto.weeks = weeks;
-proto.months = months;
-proto.years = years;
-proto.humanize = humanize;
-proto.toISOString = toISOString;
-proto.toString = toISOString;
-proto.toJSON = toISOString;
-proto.locale = locale;
-proto.localeData = localeData;
-
-// Deprecations
-import { deprecate } from '../utils/deprecate';
-
-proto.toIsoString = deprecate('toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)', toISOString);
-proto.lang = lang;