Skip to content

Commit abfd244

Browse files
fixed travis failure
1 parent 5f7d3fa commit abfd244

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/display/canvas/CanvasPool.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,14 @@ 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, len = pool.length; i < len; i++)
130+
{
130131
var container = pool[i];
131132
if (!container.parent && container.type === canvasType)
132133
{
133134
return container;
134135
}
135-
};
136+
}
136137

137138
return null;
138139
};

0 commit comments

Comments
 (0)