updated logger to avoid logging arrays

This commit is contained in:
Tony Tam
2014-08-01 17:13:30 -07:00
parent b09a8e91c9
commit fbe5278928

View File

@@ -66,7 +66,7 @@ log = function(){
log.history = log.history || [];
log.history.push(arguments);
if(this.console){
console.log( Array.prototype.slice.call(arguments) );
console.log( Array.prototype.slice.call(arguments)[0] );
}
};