Skip to content

Commit c703762

Browse files
committed
Fixed lint error
1 parent 833355a commit c703762

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/display/canvas/CanvasPool.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,10 @@ var CanvasPool = function ()
126126
{
127127
if (canvasType === undefined) { canvasType = CONST.CANVAS; }
128128

129-
for (var i = 0, len = pool.length; i < len; i++)
129+
for (var i = 0; i < pool.length; i++)
130130
{
131131
var container = pool[i];
132+
132133
if (!container.parent && container.type === canvasType)
133134
{
134135
return container;

0 commit comments

Comments
 (0)