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

Function parseMicroseconds

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

Source from the content-addressed store, hash-verified

16473}
16474
16475function parseMicroseconds(d, string, i) {
16476 var n = numberRe.exec(string.slice(i, i + 6));
16477 return n ? (d.L = Math.floor(n[0] / 1000), i + n[0].length) : -1;
16478}
16479
16480function parseLiteralPercent(d, string, i) {
16481 var n = percentRe.exec(string.slice(i, i + 1));

Callers

nothing calls this directly

Calls 1

sliceMethod · 0.80

Tested by

no test coverage detected