source:
node_modules/victory-vendor/lib-vendor/d3-interpolate/src/date.js
| Last change on this file was a762898, checked in by , 5 months ago | |
|---|---|
|
|
| File size: 248 bytes | |
| Line | |
|---|---|
| 1 | "use strict"; |
| 2 | |
| 3 | Object.defineProperty(exports, "__esModule", { |
| 4 | value: true |
| 5 | }); |
| 6 | exports.default = _default; |
| 7 | function _default(a, b) { |
| 8 | var d = new Date(); |
| 9 | return a = +a, b = +b, function (t) { |
| 10 | return d.setTime(a * (1 - t) + b * t), d; |
| 11 | }; |
| 12 | } |
Note:
See TracBrowser
for help on using the repository browser.
