MCPcopy Create free account
hub / github.com/ampproject/amphtml / getLocator

Function getLocator

third_party/inputmask/inputmask.js:810–814  ·  view source on GitHub ↗
(tst, align)

Source from the content-addressed store, hash-verified

808 return decisionTaker !== undefined ? decisionTaker.toString() : "";
809 }
810 function getLocator(tst, align) {
811 var locator = (tst.alternation != undefined ? tst.mloc[getDecisionTaker(tst)] : tst.locator).join("");
812 if (locator !== "") while (locator.length < align) locator += "0";
813 return locator;
814 }
815 function determineTestTemplate(pos, tests) {
816 pos = pos > 0 ? pos - 1 : 0;
817 var altTest = getTest(pos), targetLocator = getLocator(altTest), tstLocator, closest, bestMatch;

Callers 1

determineTestTemplateFunction · 0.85

Calls 1

getDecisionTakerFunction · 0.85

Tested by

no test coverage detected