|
/* 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] );
|
|
};
|