Remove use of non-existent begin variable and

reference beginIndex instead
This commit is contained in:
Alex Espinoza 2016-09-05 23:30:43 -04:00
parent 7f7a355686
commit e6cb910d6a

View file

@ -226,7 +226,7 @@ PIXI.DisplayObjectContainer.prototype.removeChildren = function (beginIndex, end
if (range > 0 && range <= endIndex)
{
var removed = this.children.splice(begin, range);
var removed = this.children.splice(beginIndex, range);
for (var i = 0; i < removed.length; i++)
{