source:
node_modules/d3-interpolate/src/date.js@
a762898
| Last change on this file since a762898 was e4c61dd, checked in by , 6 months ago | |
|---|---|
|
|
| File size: 144 bytes | |
| Rev | Line | |
|---|---|---|
| [e4c61dd] | 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.
