diff --git a/src/core/display/Container.js b/src/core/display/Container.js index 7885b36..a71540b 100644 --- a/src/core/display/Container.js +++ b/src/core/display/Container.js @@ -101,11 +101,11 @@ Container.prototype.onChildrenChange = function () {}; /** - * Adds a child to the container. + * Adds a child or multiple children to the container. * - * You can also add multple items like so: myContainer.addChild(thinkOne, thingTwo, thingThree) - * @param child {PIXI.DisplayObject} The DisplayObject to add to the container - * @return {PIXI.DisplayObject} The child that was added. + * Multple items can be added like so: `myContainer.addChild(thinkOne, thingTwo, thingThree)` + * @param child {...PIXI.DisplayObject} The DisplayObject(s) to add to the container + * @return {PIXI.DisplayObject} The first child that was added. */ Container.prototype.addChild = function (child) {