mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 06:28:30 +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; }
|
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];
|
var container = pool[i];
|
||||||
|
|
||||||
if (!container.parent && container.type === canvasType)
|
if (!container.parent && container.type === canvasType)
|
||||||
{
|
{
|
||||||
return container;
|
return container;
|
||||||
|
|
Loading…
Add table
Reference in a new issue