342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
|
let xNodeSuggButton = document.createElement("span");
xNodeSuggButton.setAttribute("class", "suggestions_button");
xNodeSuggButton.textContent = "Suggestions : ";
xNodeSuggButton.addEventListener("click", (e) => {
let xPromise = this.xGCEWorker.post('suggest', [dErr['sValue'], 10]);
xPromise.then(
function (sVal) {
console.log(sVal);
if (sVal != "") {
let lSugg = sVal.split("|");
let n = 0;
for (let sSugg of lSugg) {
if (true || n > 0) {
xNodeSuggLine.appendChild(document.createTextNode(" "));
}
|
<
|
342
343
344
345
346
347
348
349
350
351
352
353
354
355
|
let xNodeSuggButton = document.createElement("span");
xNodeSuggButton.setAttribute("class", "suggestions_button");
xNodeSuggButton.textContent = "Suggestions : ";
xNodeSuggButton.addEventListener("click", (e) => {
let xPromise = this.xGCEWorker.post('suggest', [dErr['sValue'], 10]);
xPromise.then(
function (sVal) {
if (sVal != "") {
let lSugg = sVal.split("|");
let n = 0;
for (let sSugg of lSugg) {
if (true || n > 0) {
xNodeSuggLine.appendChild(document.createTextNode(" "));
}
|