Fixed lint error

This commit is contained in:
Richard Davey 2018-04-09 13:48:11 +01:00
parent 833355a9a4
commit c7037628e2

View file

@ -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;