face-recognition.js/public_html/js/lib/min/local.js

2 lines
225 B
JavaScript

var logs=[],log=function(c,b){b=b||null;var a=logs.push(document.createElement("span"))-1;logs[a].innerHTML="";logs[a].innerHTML+=b?"<strong>"+b+"</strong> ":"";logs[a].innerHTML+=c;$("body > div#log").appendChild(logs[a])};