mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 20:53:39 +00:00
Fixed lint error
This commit is contained in:
parent
833355a9a4
commit
c7037628e2
1 changed files with 2 additions and 1 deletions
|
@ -126,9 +126,10 @@ var CanvasPool = function ()
|
|||
{
|
||||
if (canvasType === undefined) { canvasType = CONST.CANVAS; }
|
||||
|
||||
for (var i = 0, len = pool.length; i < len; i++)
|
||||
for (var i = 0; i < pool.length; i++)
|
||||
{
|
||||
var container = pool[i];
|
||||
|
||||
if (!container.parent && container.type === canvasType)
|
||||
{
|
||||
return container;
|
||||
|
|
Loading…
Reference in a new issue