GoodBoyDigital/pixi.js — pull request #859 by n1313 (2014-07-12 11:14:23+00:00)
Title: Improved handling of children removal from empty DisplayObjectContainers

Calling removeChildren() on an already empty DisplayObjectContainer should not fail with out of range error, but instead do nothing (as the container is already empty) and return an empty array of removed elements for consistency.