933d61de19
* added ESLint and updated all code base * updated SVGPathCommander, CubicBezier, shorter-js, minifill * updated polyfills * minor CSS fixes
7 lines
164 B
JavaScript
7 lines
164 B
JavaScript
export default function units(a, b, u, v) { // number1, number2, unit, progress
|
|
const A = +a;
|
|
const B = b - a;
|
|
// a = +a; b -= a;
|
|
return (A + B * v) + u;
|
|
}
|