source:
node_modules/d3-interpolate/src/date.js@
e4c61dd
| Last change on this file since e4c61dd was e4c61dd, checked in by , 6 months ago | |
|---|---|
|
|
| File size: 144 bytes | |
| Line | |
|---|---|
| 1 | export default function(a, b) { |
| 2 | var d = new Date; |
| 3 | return a = +a, b = +b, function(t) { |
| 4 | return d.setTime(a * (1 - t) + b * t), d; |
| 5 | }; |
| 6 | } |
Note:
See TracBrowser
for help on using the repository browser.
