MCPcopy Create free account
hub / github.com/breck7/scroll / parseMilliseconds

Function parseMilliseconds

external/.d3.js:16470–16473  ·  view source on GitHub ↗
(d, string, i)

Source from the content-addressed store, hash-verified

16468}
16469
16470function parseMilliseconds(d, string, i) {
16471 var n = numberRe.exec(string.slice(i, i + 3));
16472 return n ? (d.L = +n[0], i + n[0].length) : -1;
16473}
16474
16475function parseMicroseconds(d, string, i) {
16476 var n = numberRe.exec(string.slice(i, i + 6));

Callers

nothing calls this directly

Calls 1

sliceMethod · 0.80

Tested by

no test coverage detected