realar-project/realar

proposal: sub should be return original object for chaining

betula opened this issue · 1 comments

buttonBuyAnnualPriceOffset
  .sub(buttonBuyAnnualTextWidth, (v, width) => {
    return width > v ? width : v
  })
  .sub(buttonBuyAnnualTextWidth, (v, width) => {
    return width > v ? width : v
  })
  ;

The "sub" renamed to "update.by" and returns the chaining self context
0.6.0