*/dgenies.update_results=function(results){letjob_list_item=$("ul.nav li.result ul");job_list_item.html("");if(results.length>0){for(leti=0;i<results.length;i++){letresult=results[i];job_list_item.append($("<li>").append($("<a>").attr("href",`/result/${result}`).text(result)))}}else{job_list_item.append($("<li>").append($("<a>").attr("href","/run").text("Please run a job!")))}};/**
* Show new notification
*
* @param {string} text notification text
* @param {string} type notification type (danger, warning, info, success) according to Bootstrap Notify library
* @param {int} delay time before hide notification
*/dgenies.ajax=function(url,data,success,error,method="POST"){$.ajax(url,{method:method,data:data,success:success,error:error||function(){dgenies.hide_loading();dgenies.notify("An error occurred! Please contact us to report the bug","danger")}})};/**