Sha256: c7fcd2ef29dec4e78242201bc1fa2c64dce7d0d61d8cd769be6ede30904d7f4f

Contents?: true

Size: 545 Bytes

Versions: 66

Compression:

Stored size: 545 Bytes

Contents

var mathAbs = Math.abs;

export function abs () {
    var data           = this._data;

    this._milliseconds = mathAbs(this._milliseconds);
    this._days         = mathAbs(this._days);
    this._months       = mathAbs(this._months);

    data.milliseconds  = mathAbs(data.milliseconds);
    data.seconds       = mathAbs(data.seconds);
    data.minutes       = mathAbs(data.minutes);
    data.hours         = mathAbs(data.hours);
    data.months        = mathAbs(data.months);
    data.years         = mathAbs(data.years);

    return this;
}

Version data entries

66 entries across 65 versions & 13 rubygems

Version Path
card-1.100.0 mod/date/vendor/moment/src/lib/duration/abs.js
card-1.99.6 mod/date/vendor/moment/src/lib/duration/abs.js
card-1.99.5 mod/date/vendor/moment/src/lib/duration/abs.js
card-1.99.4 mod/date/vendor/moment/src/lib/duration/abs.js
card-1.99.3 mod/date/vendor/moment/src/lib/duration/abs.js
card-1.99.2 mod/date/vendor/moment/src/lib/duration/abs.js
ilog-0.4.1 node_modules/moment/src/lib/duration/abs.js
ilog-0.4.0 node_modules/moment/src/lib/duration/abs.js
ilog-0.3.3 node_modules/moment/src/lib/duration/abs.js
card-1.99.1 mod/date/vendor/moment/src/lib/duration/abs.js
card-1.99.0 mod/date/vendor/moment/src/lib/duration/abs.js
jester-data-8.0.0 node_modules/moment/src/lib/duration/abs.js
ezii-os-5.2.1 node_modules/moment/src/lib/duration/abs.js
ezii-os-2.0.1 node_modules/moment/src/lib/duration/abs.js
card-1.98.3 mod/date/vendor/moment/src/lib/duration/abs.js
card-1.98.2 mod/date/vendor/moment/src/lib/duration/abs.js
card-1.98.1 mod/date/vendor/moment/src/lib/duration/abs.js
card-1.98.0 mod/date/vendor/moment/src/lib/duration/abs.js
card-1.97.0.1 mod/date/vendor/moment/src/lib/duration/abs.js
card-1.97.0 mod/date/vendor/moment/src/lib/duration/abs.js