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

Function parseSeconds

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

Source from the content-addressed store, hash-verified

16463}
16464
16465function parseSeconds(d, string, i) {
16466 var n = numberRe.exec(string.slice(i, i + 2));
16467 return n ? (d.S = +n[0], i + n[0].length) : -1;
16468}
16469
16470function parseMilliseconds(d, string, i) {
16471 var n = numberRe.exec(string.slice(i, i + 3));

Callers

nothing calls this directly

Calls 1

sliceMethod · 0.80

Tested by

no test coverage detected