MCPcopy Create free account
hub / github.com/HtmlUnit/htmlunit / _loop_1

Function _loop_1

src/test/resources/libraries/html2canvas/html2canvas.js:4474–4495  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4472 var words = [];
4473 var bk;
4474 var _loop_1 = function () {
4475 if (bk.value) {
4476 var value = bk.value.slice();
4477 var codePoints = toCodePoints$1(value);
4478 var word_1 = '';
4479 codePoints.forEach(function (codePoint) {
4480 if (wordSeparators.indexOf(codePoint) === -1) {
4481 word_1 += fromCodePoint$1(codePoint);
4482 }
4483 else {
4484 if (word_1.length) {
4485 words.push(word_1);
4486 }
4487 words.push(fromCodePoint$1(codePoint));
4488 word_1 = '';
4489 }
4490 });
4491 if (word_1.length) {
4492 words.push(word_1);
4493 }
4494 }
4495 };
4496 while (!(bk = breaker.next()).done) {
4497 _loop_1();
4498 }

Callers 2

breakWordsFunction · 0.85
html2canvas.jsFile · 0.85

Calls 6

toCodePoints$1Function · 0.85
fromCodePoint$1Function · 0.85
sliceMethod · 0.45
forEachMethod · 0.45
indexOfMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…