mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 05:03:37 +00:00
Log can take any parameters
This commit is contained in:
parent
4ae57fa593
commit
8b493834dc
1 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue