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

Function parseMinutes

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

Source from the content-addressed store, hash-verified

16458}
16459
16460function parseMinutes(d, string, i) {
16461 var n = numberRe.exec(string.slice(i, i + 2));
16462 return n ? (d.M = +n[0], i + n[0].length) : -1;
16463}
16464
16465function parseSeconds(d, string, i) {
16466 var n = numberRe.exec(string.slice(i, i + 2));

Callers

nothing calls this directly

Calls 1

sliceMethod · 0.80

Tested by

no test coverage detected