Commit c04c629d authored by Camil Staps's avatar Camil Staps 🐧

Fix JavaScript

parent 28550d45
......@@ -329,7 +329,7 @@ function getResults(str, libs, include_builtins, include_core, include_apps, pag
}
html += '</table>';
return html;
}
};
var makeInstanceTable = function (list, highlightstart) {
if (list.length == 0)
......@@ -371,7 +371,7 @@ function getResults(str, libs, include_builtins, include_core, include_apps, pag
instances += '</table>';
return instances;
}
};
var makeGenericResultHTML = function (basic, meta, hidden, code) {
var dclUrl = 'src#' + encodeURIComponent(basic['library'] + '/' + basic['filename'].replace('.icl', ''));
......@@ -443,7 +443,7 @@ function getResults(str, libs, include_builtins, include_core, include_apps, pag
result.appendChild(rcode);
return result;
}
};
var makeResultHTML = function (result) {
var kind = result[0];
......@@ -673,7 +673,7 @@ function getResults(str, libs, include_builtins, include_core, include_apps, pag
default:
console.log('Unknown result type: ' + kind);
}
}
};
var makeSuggestions = function (suggestions) {
var suggs = document.createElement('div');
......@@ -714,7 +714,7 @@ function getResults(str, libs, include_builtins, include_core, include_apps, pag
suggs.appendChild(table);
return suggs;
}
};
xmlHttp.onreadystatechange = function () {
if (xmlHttp.readyState == 4 && xmlHttp.status == 200) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment