Lines Matching refs:base
785 function getTrimmingContainer(base) {
786 var el = base.parentNode;
10160 function positiveMomentsDifference(base, other) {
10163 res.months = other.month() - base.month() +
10164 (other.year() - base.year()) * 12;
10165 if (base.clone().add(res.months, 'M').isAfter(other)) {
10169 res.milliseconds = +other - +(base.clone().add(res.months, 'M'));
10174 function momentsDifference(base, other) {
10176 if (!(base.isValid() && other.isValid())) {
10180 other = cloneWithOffset(other, base);
10181 if (base.isBefore(other)) {
10182 res = positiveMomentsDifference(base, other);
10184 res = positiveMomentsDifference(other, base);