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

14 lines
287 B
JavaScript

/* LOG UNE ACTION
*
* @message<String> Appends the message to the log history
*
*/
var logs = [];
var log = function(message){
var index = logs.push( document.createElement('span') ) - 1;
logs[index].innerHTML = message;
$('body > div#log').appendChild( logs[index] );
};