Brought in another asset for Ray's eye form: moment
[openemr.git] / public / assets / moment-2-13-0 / src / lib / duration / abs.js
blob103a4cf9b304487ce3de819769bc01fef5489af7
1 var mathAbs = Math.abs;
3 export function abs () {
4     var data           = this._data;
6     this._milliseconds = mathAbs(this._milliseconds);
7     this._days         = mathAbs(this._days);
8     this._months       = mathAbs(this._months);
10     data.milliseconds  = mathAbs(data.milliseconds);
11     data.seconds       = mathAbs(data.seconds);
12     data.minutes       = mathAbs(data.minutes);
13     data.hours         = mathAbs(data.hours);
14     data.months        = mathAbs(data.months);
15     data.years         = mathAbs(data.years);
17     return this;