Log can take any parameters

This commit is contained in:
Richard Davey 2023-03-02 18:45:42 +00:00
parent 4ae57fa593
commit 8b493834dc

View file

@ -889,11 +889,13 @@ var WebGLRenderer = new Class({
}
},
log: function (value)
log: function ()
{
if (DEBUG && this.spector)
{
return this.spector.log(value);
var t = Array.prototype.slice.call(arguments).join(' ');
return this.spector.log(t);
}
},