Commit 90618209 authored by Piers Williams's avatar Piers Williams

Trimmed out excess console outputting

parent 99015b1c
Pipeline #880 passed with stages
in 23 seconds
......@@ -128,7 +128,6 @@ function updateGraph(){
function updateTable(){
var tableRows = $("#resultsTable tbody tr");
console.log(tableRows);
$.each(tableData, function(index, value){
tableRows[0].cells[index + 1].innerHTML = value.score;
tableRows[1].cells[index + 1].innerHTML = value.moves;
......@@ -150,10 +149,7 @@ function recoverModel(index){
// get the model
var model = models[index].split(",");
for(var location = 0; location < model.length; location++){
console.log(model[location]);
var rule = $("#rule" + model[location]);
console.log("FOUND", rule);
$("#agent").append(rule);
$("#agent").append($("#rule" + model[location]));
}
......@@ -202,10 +198,7 @@ function buildAgent() {
models.pop();
}
console.log("MODELS", models);
$.post("http://hammer.vps.livebytes.co.uk:8000/rule-evaluator-1.0-SNAPSHOT/", model, function(data, textStatus, jqXHR){
console.log("Results", textStatus, data);
updateData(data);
updateGraph();
updateTable();
......
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