diff --git a/docs/dochack.js b/docs/dochack.js index fc716d7..fc79c1e 100644 --- a/docs/dochack.js +++ b/docs/dochack.js @@ -1,4 +1,4 @@ -/* Generated by the Nim Compiler v2.0.4 */ +/* Generated by the Nim Compiler v2.0.8 */ var framePtr = null; var excHandler = 0; var lastJSError = null; @@ -502,13 +502,13 @@ function addChars_301990090(result_301990092, result_301990092_Idx, x_301990093, else {result_301990092[result_301990092_Idx].length = Temporary1; }; Label2: { var iHEX60gensym4_301990110 = 0; - var i_570426543 = 0; + var i_570426545 = 0; Label3: { Label4: while (true) { - if (!(i_570426543 < n_301990095)) break Label4; - iHEX60gensym4_301990110 = i_570426543; + if (!(i_570426545 < n_301990095)) break Label4; + iHEX60gensym4_301990110 = i_570426545; result_301990092[result_301990092_Idx][chckIndx(addInt(old_301990096, iHEX60gensym4_301990110), 0, (result_301990092[result_301990092_Idx]).length - 1)] = x_301990093.charCodeAt(chckIndx(addInt(start_301990094, iHEX60gensym4_301990110), 0, (x_301990093).length - 1)); - i_570426543 = addInt(i_570426543, 1); + i_570426545 = addInt(i_570426545, 1); } }; }; @@ -626,18 +626,18 @@ function HEX3Aanonymous_570425409(event_570425410) { document.getElementById("theme-select").value = window.localStorage.getItem("theme"); Label1: { var pragmaDots_570425408 = null; - var colontmp__570426534 = []; - colontmp__570426534 = document.getElementsByClassName("pragmadots"); - var i_570426536 = 0; - var L_570426537 = (colontmp__570426534).length; + var colontmp__570426536 = []; + colontmp__570426536 = document.getElementsByClassName("pragmadots"); + var i_570426538 = 0; + var L_570426539 = (colontmp__570426536).length; Label2: { Label3: while (true) { - if (!(i_570426536 < L_570426537)) break Label3; - pragmaDots_570425408 = colontmp__570426534[chckIndx(i_570426536, 0, (colontmp__570426534).length - 1)]; + if (!(i_570426538 < L_570426539)) break Label3; + pragmaDots_570425408 = colontmp__570426536[chckIndx(i_570426538, 0, (colontmp__570426536).length - 1)]; pragmaDots_570425408.onclick = HEX3Aanonymous_570425409; - i_570426536 = addInt(i_570426536, 1); - if (!(((colontmp__570426534).length == L_570426537))) { - failedAssertImpl_268435541(makeNimstrLit("iterators.nim(246, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_570426538 += 1; + if (!(((colontmp__570426536).length == L_570426539))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } @@ -681,15 +681,15 @@ function toToc_570425755(x_570425756, father_570425757) { var it_570425781 = x_570425756.childNodes[nxt_570425767]; Label9: { var j_570425786 = 0; - var colontmp__570426550 = 0; - colontmp__570426550 = it_570425781.childNodes.length; - var i_570426551 = 0; + var colontmp__570426552 = 0; + colontmp__570426552 = it_570425781.childNodes.length; + var i_570426553 = 0; Label10: { Label11: while (true) { - if (!(i_570426551 < colontmp__570426550)) break Label11; - j_570425786 = i_570426551; + if (!(i_570426553 < colontmp__570426552)) break Label11; + j_570425786 = i_570426553; toToc_570425755(it_570425781.childNodes[j_570425786], e_570425780); - i_570426551 = addInt(i_570426551, 1); + i_570426553 = addInt(i_570426553, 1); } }; }; @@ -713,18 +713,18 @@ function toToc_570425755(x_570425756, father_570425757) { var idx_570425804 = []; Label12: { var i_570425809 = 0; - var colontmp__570426554 = 0; - colontmp__570426554 = x_570425756.childNodes.length; - var i_570426555 = 0; + var colontmp__570426556 = 0; + colontmp__570426556 = x_570425756.childNodes.length; + var i_570426557 = 0; Label13: { Label14: while (true) { - if (!(i_570426555 < colontmp__570426554)) break Label14; - i_570425809 = i_570426555; + if (!(i_570426557 < colontmp__570426556)) break Label14; + i_570425809 = i_570426557; if (!(isWhitespace_570425752(x_570425756.childNodes[i_570425809]))) { idx_570425804.push(i_570425809);; } - i_570426555 = addInt(i_570426555, 1); + i_570426557 = addInt(i_570426557, 1); } }; }; @@ -733,15 +733,15 @@ function toToc_570425755(x_570425756, father_570425757) { var it_570425826 = x_570425756.childNodes[idx_570425804[chckIndx(1, 0, (idx_570425804).length - 1)]]; Label16: { var j_570425831 = 0; - var colontmp__570426558 = 0; - colontmp__570426558 = it_570425826.childNodes.length; - var i_570426559 = 0; + var colontmp__570426560 = 0; + colontmp__570426560 = it_570425826.childNodes.length; + var i_570426561 = 0; Label17: { Label18: while (true) { - if (!(i_570426559 < colontmp__570426558)) break Label18; - j_570425831 = i_570426559; + if (!(i_570426561 < colontmp__570426560)) break Label18; + j_570425831 = i_570426561; toToc_570425755(it_570425826.childNodes[j_570425831], e_570425825); - i_570426559 = addInt(i_570426559, 1); + i_570426561 = addInt(i_570426561, 1); } }; }; @@ -750,15 +750,15 @@ function toToc_570425755(x_570425756, father_570425757) { else { Label19: { var i_570425840 = 0; - var colontmp__570426562 = 0; - colontmp__570426562 = x_570425756.childNodes.length; - var i_570426563 = 0; + var colontmp__570426564 = 0; + colontmp__570426564 = x_570425756.childNodes.length; + var i_570426565 = 0; Label20: { Label21: while (true) { - if (!(i_570426563 < colontmp__570426562)) break Label21; - i_570425840 = i_570426563; + if (!(i_570426565 < colontmp__570426564)) break Label21; + i_570425840 = i_570426565; toToc_570425755(x_570425756.childNodes[i_570425840], father_570425757); - i_570426563 = addInt(i_570426563, 1); + i_570426565 = addInt(i_570426565, 1); } }; }; @@ -782,15 +782,15 @@ function extractItems_570425543(x_570425544, heading_570425545, items_570425546, if ((!((x_570425544.heading == null)) && (x_570425544.heading.textContent == heading_570425545))) { Label1: { var i_570425563 = 0; - var colontmp__570426566 = 0; - colontmp__570426566 = (x_570425544.kids).length; - var i_570426567 = 0; + var colontmp__570426568 = 0; + colontmp__570426568 = (x_570425544.kids).length; + var i_570426569 = 0; Label2: { Label3: while (true) { - if (!(i_570426567 < colontmp__570426566)) break Label3; - i_570425563 = i_570426567; + if (!(i_570426569 < colontmp__570426568)) break Label3; + i_570425563 = i_570426569; items_570425546[items_570425546_Idx].push(x_570425544.kids[chckIndx(i_570425563, 0, (x_570425544.kids).length - 1)].heading);; - i_570426567 = addInt(i_570426567, 1); + i_570426569 = addInt(i_570426569, 1); } }; }; @@ -798,16 +798,16 @@ function extractItems_570425543(x_570425544, heading_570425545, items_570425546, else { Label4: { var k_570425589 = null; - var i_570426571 = 0; - var L_570426572 = (x_570425544.kids).length; + var i_570426573 = 0; + var L_570426574 = (x_570425544.kids).length; Label5: { Label6: while (true) { - if (!(i_570426571 < L_570426572)) break Label6; - k_570425589 = x_570425544.kids[chckIndx(i_570426571, 0, (x_570425544.kids).length - 1)]; + if (!(i_570426573 < L_570426574)) break Label6; + k_570425589 = x_570425544.kids[chckIndx(i_570426573, 0, (x_570425544.kids).length - 1)]; extractItems_570425543(k_570425589, heading_570425545, items_570425546, items_570425546_Idx); - i_570426571 = addInt(i_570426571, 1); - if (!(((x_570425544.kids).length == L_570426572))) { - failedAssertImpl_268435541(makeNimstrLit("iterators.nim(246, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_570426573 += 1; + if (!(((x_570425544.kids).length == L_570426574))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } @@ -826,13 +826,13 @@ function tree_570425474(tag_570425475, kids_570425476) { result_570425477 = document.createElement(tag_570425475); Label1: { var k_570425491 = null; - var i_570426584 = 0; + var i_570426586 = 0; Label2: { Label3: while (true) { - if (!(i_570426584 < (kids_570425476).length)) break Label3; - k_570425491 = kids_570425476[chckIndx(i_570426584, 0, (kids_570425476).length - 1)]; + if (!(i_570426586 < (kids_570425476).length)) break Label3; + k_570425491 = kids_570425476[chckIndx(i_570426586, 0, (kids_570425476).length - 1)]; result_570425477.appendChild(k_570425491); - i_570426584 = addInt(i_570426584, 1); + i_570426586 += 1; } }; }; @@ -871,20 +871,20 @@ function uncovered_570425944(x_570425945) { result_570425946 = {heading: x_570425945.heading, kids: [], sortId: x_570425945.sortId, doSort: x_570425945.doSort}; Label2: { var k_570425961 = null; - var i_570426591 = 0; - var L_570426592 = (x_570425945.kids).length; + var i_570426593 = 0; + var L_570426594 = (x_570425945.kids).length; Label3: { Label4: while (true) { - if (!(i_570426591 < L_570426592)) break Label4; - k_570425961 = x_570425945.kids[chckIndx(i_570426591, 0, (x_570425945.kids).length - 1)]; + if (!(i_570426593 < L_570426594)) break Label4; + k_570425961 = x_570425945.kids[chckIndx(i_570426593, 0, (x_570425945.kids).length - 1)]; var y_570425962 = uncovered_570425944(k_570425961); if (!((y_570425962 == null))) { result_570425946.kids.push(y_570425962);; } - i_570426591 = addInt(i_570426591, 1); - if (!(((x_570425945.kids).length == L_570426592))) { - failedAssertImpl_268435541(makeNimstrLit("iterators.nim(246, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_570426593 += 1; + if (!(((x_570425945.kids).length == L_570426594))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } @@ -910,15 +910,15 @@ function mergeTocs_570425974(orig_570425975, news_570425976) { else { Label1: { var i_570425989 = 0; - var colontmp__570426587 = 0; - colontmp__570426587 = (news_570425976.kids).length; - var i_570426588 = 0; + var colontmp__570426589 = 0; + colontmp__570426589 = (news_570425976.kids).length; + var i_570426590 = 0; Label2: { Label3: while (true) { - if (!(i_570426588 < colontmp__570426587)) break Label3; - i_570425989 = i_570426588; + if (!(i_570426590 < colontmp__570426589)) break Label3; + i_570425989 = i_570426590; result_570425977.kids.push(news_570425976.kids[chckIndx(i_570425989, 0, (news_570425976.kids).length - 1)]);; - i_570426588 = addInt(i_570426588, 1); + i_570426590 = addInt(i_570426590, 1); } }; }; @@ -935,22 +935,22 @@ function buildToc_570425994(orig_570425995, types_570425996, procs_570425997) { var newStuff_570426003 = {heading: null, kids: [], doSort: true, sortId: 0}; Label1: { var t_570426007 = null; - var i_570426579 = 0; - var L_570426580 = (types_570425996).length; + var i_570426581 = 0; + var L_570426582 = (types_570425996).length; Label2: { Label3: while (true) { - if (!(i_570426579 < L_570426580)) break Label3; - t_570426007 = types_570425996[chckIndx(i_570426579, 0, (types_570425996).length - 1)]; + if (!(i_570426581 < L_570426582)) break Label3; + t_570426007 = types_570425996[chckIndx(i_570426581, 0, (types_570425996).length - 1)]; var c_570426012 = {heading: t_570426007.cloneNode(true), kids: [], doSort: true, sortId: 0}; t_570426007.__karaxMarker__ = true; Label4: { var p_570426016 = null; - var i_570426576 = 0; - var L_570426577 = (procs_570425997).length; + var i_570426578 = 0; + var L_570426579 = (procs_570425997).length; Label5: { Label6: while (true) { - if (!(i_570426576 < L_570426577)) break Label6; - p_570426016 = procs_570425997[chckIndx(i_570426576, 0, (procs_570425997).length - 1)]; + if (!(i_570426578 < L_570426579)) break Label6; + p_570426016 = procs_570425997[chckIndx(i_570426578, 0, (procs_570425997).length - 1)]; if (!(p_570426016.hasOwnProperty('__karaxMarker__'))) { var xx_570426017 = p_570426016.parentNode.getElementsByClassName("attachedType"); if ((((xx_570426017).length == 1) && (xx_570426017[chckIndx(0, 0, (xx_570426017).length - 1)].textContent == t_570426007.textContent))) { @@ -962,18 +962,18 @@ function buildToc_570425994(orig_570425995, types_570425996, procs_570425997) { } - i_570426576 = addInt(i_570426576, 1); - if (!(((procs_570425997).length == L_570426577))) { - failedAssertImpl_268435541(makeNimstrLit("iterators.nim(246, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_570426578 += 1; + if (!(((procs_570425997).length == L_570426579))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; newStuff_570426003.kids.push(c_570426012);; - i_570426579 = addInt(i_570426579, 1); - if (!(((types_570425996).length == L_570426580))) { - failedAssertImpl_268435541(makeNimstrLit("iterators.nim(246, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_570426581 += 1; + if (!(((types_570425996).length == L_570426582))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } @@ -1075,20 +1075,20 @@ function HEX3Aanonymous_570425642(a_570425643, b_570425644) { Label1: { var k_570425667 = null; - var i_570426595 = 0; - var L_570426596 = (x_570425623.kids).length; + var i_570426597 = 0; + var L_570426598 = (x_570425623.kids).length; Label2: { Label3: while (true) { - if (!(i_570426595 < L_570426596)) break Label3; - k_570425667 = x_570425623.kids[chckIndx(i_570426595, 0, (x_570425623.kids).length - 1)]; + if (!(i_570426597 < L_570426598)) break Label3; + k_570425667 = x_570425623.kids[chckIndx(i_570426597, 0, (x_570425623.kids).length - 1)]; var y_570425668 = toHtml_570425622(k_570425667, false); if (!((y_570425668 == null))) { add_570425492(ul_570425641, tree_570425474("LI", [y_570425668])); } - i_570426595 = addInt(i_570426595, 1); - if (!(((x_570425623.kids).length == L_570426596))) { - failedAssertImpl_268435541(makeNimstrLit("iterators.nim(246, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_570426597 += 1; + if (!(((x_570425623.kids).length == L_570426598))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } @@ -1168,13 +1168,13 @@ function HEX5BHEX5D_738198811(s_738198814, x_738198815) { result_738198816 = nimCopy(null, mnewString(chckRange(L_738198820, 0, 2147483647)), NTI33554449); Label1: { var i_738198825 = 0; - var i_570426605 = 0; + var i_570426607 = 0; Label2: { Label3: while (true) { - if (!(i_570426605 < L_738198820)) break Label3; - i_738198825 = i_570426605; + if (!(i_570426607 < L_738198820)) break Label3; + i_738198825 = i_570426607; result_738198816[chckIndx(i_738198825, 0, (result_738198816).length - 1)] = s_738198814[chckIndx(addInt(i_738198825, a_738198818), 0, (s_738198814).length - 1)]; - i_570426605 = addInt(i_570426605, 1); + i_570426607 = addInt(i_570426607, 1); } }; }; @@ -1183,63 +1183,63 @@ function HEX5BHEX5D_738198811(s_738198814, x_738198815) { } -function HEX2EHEX2E_973078632(a_973078635, b_973078636) { - var result_973078639 = ({a: 0, b: 0}); +function HEX2EHEX2E_973078633(a_973078636, b_973078637) { + var result_973078640 = ({a: 0, b: 0}); - result_973078639 = nimCopy(result_973078639, {a: a_973078635, b: b_973078636}, NTI973078613); + result_973078640 = nimCopy(result_973078640, {a: a_973078636, b: b_973078637}, NTI973078613); - return result_973078639; + return result_973078640; } -async function loadIndex_570426270() { - var result_570426272 = null; +async function loadIndex_570426272() { + var result_570426274 = null; BeforeRet: { - var indexURL_570426278 = document.getElementById("indexLink").getAttribute("href"); - var rootURL_570426304 = HEX5BHEX5D_738198811(cstrToNimstr(indexURL_570426278), HEX2EHEX2E_973078632(0, 14)); - var resp_570426316 = (await (await fetch(indexURL_570426278)).text()); - var indexElem_570426317 = document.createElement("div"); - indexElem_570426317.innerHTML = resp_570426316; + var indexURL_570426280 = document.getElementById("indexLink").getAttribute("href"); + var rootURL_570426306 = HEX5BHEX5D_738198811(cstrToNimstr(indexURL_570426280), HEX2EHEX2E_973078633(0, 14)); + var resp_570426318 = (await (await fetch(indexURL_570426280)).text()); + var indexElem_570426319 = document.createElement("div"); + indexElem_570426319.innerHTML = resp_570426318; Label1: { - var href_570426339 = null; - var colontmp__570426599 = []; - colontmp__570426599 = indexElem_570426317.getElementsByClassName("reference"); - var i_570426601 = 0; - var L_570426602 = (colontmp__570426599).length; + var href_570426341 = null; + var colontmp__570426601 = []; + colontmp__570426601 = indexElem_570426319.getElementsByClassName("reference"); + var i_570426603 = 0; + var L_570426604 = (colontmp__570426601).length; Label2: { Label3: while (true) { - if (!(i_570426601 < L_570426602)) break Label3; - href_570426339 = colontmp__570426599[chckIndx(i_570426601, 0, (colontmp__570426599).length - 1)]; - href_570426339.setAttribute("href", toJSStr((rootURL_570426304 || []).concat(cstrToNimstr(href_570426339.getAttribute("href")) || []))); - db_570426093[0].push(href_570426339);; - contents_570426094[0].push(href_570426339.getAttribute("data-doc-search-tag"));; - i_570426601 = addInt(i_570426601, 1); - if (!(((colontmp__570426599).length == L_570426602))) { - failedAssertImpl_268435541(makeNimstrLit("iterators.nim(246, 11) `len(a) == L` the length of the seq changed while iterating over it")); + if (!(i_570426603 < L_570426604)) break Label3; + href_570426341 = colontmp__570426601[chckIndx(i_570426603, 0, (colontmp__570426601).length - 1)]; + href_570426341.setAttribute("href", toJSStr((rootURL_570426306 || []).concat(cstrToNimstr(href_570426341.getAttribute("href")) || []))); + db_570426093[0].push(href_570426341);; + contents_570426094[0].push(href_570426341.getAttribute("data-doc-search-tag"));; + i_570426603 += 1; + if (!(((colontmp__570426601).length == L_570426604))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - result_570426272 = undefined; + result_570426274 = undefined; break BeforeRet; }; - return result_570426272; + return result_570426274; } -function then_570426448(future_570426451, onSuccess_570426452, onReject_570426453) { - var result_570426454 = null; +function then_570426450(future_570426453, onSuccess_570426454, onReject_570426455) { + var result_570426456 = null; BeforeRet: { - var ret_570426464 = null; - ret_570426464 = future_570426451.then(onSuccess_570426452, onReject_570426453) - result_570426454 = ret_570426464; + var ret_570426466 = null; + ret_570426466 = future_570426453.then(onSuccess_570426454, onReject_570426455) + result_570426456 = ret_570426466; break BeforeRet; }; - return result_570426454; + return result_570426456; } @@ -1380,9 +1380,9 @@ function fuzzyMatch_721420304(pattern_721420305, str_721420306) { score_721420316 = addInt(score_721420316, 10); } - var colontmp__570426618 = nimMax(0, score_721420316); - var colontmp__570426619 = (0 < score_721420316); - result_721420309 = nimCopy(result_721420309, {Field0: colontmp__570426618, Field1: colontmp__570426619}, NTI721420302); + var colontmp__570426620 = nimMax(0, score_721420316); + var colontmp__570426621 = (0 < score_721420316); + result_721420309 = nimCopy(result_721420309, {Field0: colontmp__570426620, Field1: colontmp__570426621}, NTI721420302); return result_721420309; @@ -1392,12 +1392,12 @@ function escapeCString_570426095(x_570426096, x_570426096_Idx) { var s_570426097 = []; Label1: { var c_570426098 = 0; - var iHEX60gensym6_570426622 = 0; - var nHEX60gensym6_570426623 = ((x_570426096[x_570426096_Idx]) == null ? 0 : (x_570426096[x_570426096_Idx]).length); + var iHEX60gensym13_570426624 = 0; + var nHEX60gensym13_570426625 = ((x_570426096[x_570426096_Idx]) == null ? 0 : (x_570426096[x_570426096_Idx]).length); Label2: { Label3: while (true) { - if (!(iHEX60gensym6_570426622 < nHEX60gensym6_570426623)) break Label3; - c_570426098 = x_570426096[x_570426096_Idx].charCodeAt(chckIndx(iHEX60gensym6_570426622, 0, (x_570426096[x_570426096_Idx]).length - 1)); + if (!(iHEX60gensym13_570426624 < nHEX60gensym13_570426625)) break Label3; + c_570426098 = x_570426096[x_570426096_Idx].charCodeAt(chckIndx(iHEX60gensym13_570426624, 0, (x_570426096[x_570426096_Idx]).length - 1)); switch (c_570426098) { case 60: s_570426097.push.apply(s_570426097, [38,108,116,59]);; @@ -1409,7 +1409,7 @@ function escapeCString_570426095(x_570426096, x_570426096_Idx) { addChar(s_570426097, c_570426098);; break; } - iHEX60gensym6_570426622 = addInt(iHEX60gensym6_570426622, 1); + iHEX60gensym13_570426624 += 1; } }; }; @@ -1421,11 +1421,11 @@ function escapeCString_570426095(x_570426096, x_570426096_Idx) { function dosearch_570426099(value_570426100) { function HEX3Aanonymous_570426127(a_570426132, b_570426133) { - var result_570426138 = 0; + var result_570426140 = 0; - result_570426138 = subInt(b_570426133["Field1"], a_570426132["Field1"]); + result_570426140 = subInt(b_570426133["Field1"], a_570426132["Field1"]); - return result_570426138; + return result_570426140; } @@ -1442,13 +1442,13 @@ function HEX3Aanonymous_570426127(a_570426132, b_570426133) { var matches_570426110 = []; Label1: { var i_570426118 = 0; - var colontmp__570426609 = 0; - colontmp__570426609 = (db_570426093[0]).length; - var i_570426610 = 0; + var colontmp__570426611 = 0; + colontmp__570426611 = (db_570426093[0]).length; + var i_570426612 = 0; Label2: { Label3: while (true) { - if (!(i_570426610 < colontmp__570426609)) break Label3; - i_570426118 = i_570426610; + if (!(i_570426612 < colontmp__570426611)) break Label3; + i_570426118 = i_570426612; Label4: { var c_570426119 = contents_570426094[0][chckIndx(i_570426118, 0, (contents_570426094[0]).length - 1)]; if (((c_570426119 == "Examples") || (c_570426119 == "PEG construction"))) { @@ -1463,24 +1463,24 @@ function HEX3Aanonymous_570426127(a_570426132, b_570426133) { } }; - i_570426610 = addInt(i_570426610, 1); + i_570426612 = addInt(i_570426612, 1); } }; }; matches_570426110.sort(HEX3Aanonymous_570426127); Label5: { - var i_570426155 = 0; - var colontmp__570426613 = 0; - colontmp__570426613 = nimMin((matches_570426110).length, 29); - var i_570426614 = 0; + var i_570426157 = 0; + var colontmp__570426615 = 0; + colontmp__570426615 = nimMin((matches_570426110).length, 29); + var i_570426616 = 0; Label6: { Label7: while (true) { - if (!(i_570426614 < colontmp__570426613)) break Label7; - i_570426155 = i_570426614; - matches_570426110[chckIndx(i_570426155, 0, (matches_570426110).length - 1)]["Field0"].innerHTML = matches_570426110[chckIndx(i_570426155, 0, (matches_570426110).length - 1)]["Field0"].getAttribute("data-doc-search-tag"); - escapeCString_570426095(matches_570426110[chckIndx(i_570426155, 0, (matches_570426110).length - 1)]["Field0"], "innerHTML"); - add_570425492(ul_570426105, tree_570425474("LI", [matches_570426110[chckIndx(i_570426155, 0, (matches_570426110).length - 1)]["Field0"]])); - i_570426614 = addInt(i_570426614, 1); + if (!(i_570426616 < colontmp__570426615)) break Label7; + i_570426157 = i_570426616; + matches_570426110[chckIndx(i_570426157, 0, (matches_570426110).length - 1)]["Field0"].innerHTML = matches_570426110[chckIndx(i_570426157, 0, (matches_570426110).length - 1)]["Field0"].getAttribute("data-doc-search-tag"); + escapeCString_570426095(matches_570426110[chckIndx(i_570426157, 0, (matches_570426110).length - 1)]["Field0"], "innerHTML"); + add_570425492(ul_570426105, tree_570425474("LI", [matches_570426110[chckIndx(i_570426157, 0, (matches_570426110).length - 1)]["Field0"]])); + i_570426616 = addInt(i_570426616, 1); } }; }; @@ -1500,36 +1500,36 @@ function HEX3Aanonymous_570426127(a_570426132, b_570426133) { function search() { -function wrapper_570426433() { - var elem_570426434 = document.getElementById("searchInput"); - var value_570426435 = elem_570426434.value; - if (!((((value_570426435) == null ? 0 : (value_570426435).length) == 0))) { - if ((oldtoc_570426428[0] == null)) { - oldtoc_570426428[0] = document.getElementById("tocRoot"); +function wrapper_570426435() { + var elem_570426436 = document.getElementById("searchInput"); + var value_570426437 = elem_570426436.value; + if (!((((value_570426437) == null ? 0 : (value_570426437).length) == 0))) { + if ((oldtoc_570426430[0] == null)) { + oldtoc_570426430[0] = document.getElementById("tocRoot"); } - var results_570426439 = dosearch_570426099(value_570426435); - replaceById_570425502("tocRoot", results_570426439); + var results_570426441 = dosearch_570426099(value_570426437); + replaceById_570425502("tocRoot", results_570426441); } else { - if (!((oldtoc_570426428[0] == null))) { - replaceById_570425502("tocRoot", oldtoc_570426428[0]); + if (!((oldtoc_570426430[0] == null))) { + replaceById_570425502("tocRoot", oldtoc_570426430[0]); } } } - if ((loadIndexFut_570426431[0] == null)) { - loadIndexFut_570426431[0] = loadIndex_570426270(); - var _ = then_570426448(loadIndexFut_570426431[0], wrapper_570426433, null); + if ((loadIndexFut_570426433[0] == null)) { + loadIndexFut_570426433[0] = loadIndex_570426272(); + var _ = then_570426450(loadIndexFut_570426433[0], wrapper_570426435, null); } - if (!((timer_570426429[0] == null))) { - clearTimeout(timer_570426429[0]); + if (!((timer_570426431[0] == null))) { + clearTimeout(timer_570426431[0]); } - timer_570426429[0] = setTimeout(wrapper_570426433, 400); + timer_570426431[0] = setTimeout(wrapper_570426435, 400); } @@ -1602,8 +1602,8 @@ setTheme(Temporary1); var alternative_570426051 = [null]; var db_570426093 = [[]]; var contents_570426094 = [[]]; -var oldtoc_570426428 = [null]; -var timer_570426429 = [null]; -var loadIndexFut_570426431 = [null]; +var oldtoc_570426430 = [null]; +var timer_570426431 = [null]; +var loadIndexFut_570426433 = [null]; copyToClipboard(); window.addEventListener("DOMContentLoaded", onDOMLoaded, false); diff --git a/docs/nimiSlides.html b/docs/nimiSlides.html index 02182c4..c722c52 100644 --- a/docs/nimiSlides.html +++ b/docs/nimiSlides.html @@ -12,10 +12,10 @@ - + - +
NimiSlidesConfig = object - localReveal*: string -
proc useLocalReveal(nb: var NbDoc; path: string) {. - ...raises: [OSError, ValueError], tags: [], forbids: [].}
proc useLocalReveal(nb: var NbDoc; path: string) {....raises: [OSError], tags: [], + forbids: [].}