diff --git a/src/extras/getChildByName.js b/src/extras/getChildByName.js index f8ff40c..24ab420 100644 --- a/src/extras/getChildByName.js +++ b/src/extras/getChildByName.js @@ -4,13 +4,14 @@ * The instance name of the object. * * @memberof PIXI.DisplayObject# - * @member {string} + * @member {string} name */ core.DisplayObject.prototype.name = null; /** * Returns the display object in the container * + * @method getChildByName * @memberof PIXI.Container# * @param {string} name - instance name * @return {PIXI.DisplayObject} The child with the specified name. diff --git a/src/extras/getChildByName.js b/src/extras/getChildByName.js index f8ff40c..24ab420 100644 --- a/src/extras/getChildByName.js +++ b/src/extras/getChildByName.js @@ -4,13 +4,14 @@ * The instance name of the object. * * @memberof PIXI.DisplayObject# - * @member {string} + * @member {string} name */ core.DisplayObject.prototype.name = null; /** * Returns the display object in the container * + * @method getChildByName * @memberof PIXI.Container# * @param {string} name - instance name * @return {PIXI.DisplayObject} The child with the specified name. diff --git a/src/extras/getGlobalPosition.js b/src/extras/getGlobalPosition.js index a23761f..3065a29 100644 --- a/src/extras/getGlobalPosition.js +++ b/src/extras/getGlobalPosition.js @@ -3,6 +3,7 @@ /** * Returns the global position of the displayObject. Does not depend on object scale, rotation and pivot. * + * @method getGlobalPosition * @memberof PIXI.DisplayObject# * @param {Point} point - the point to write the global value to. If null a new point will be returned * @param {boolean} skipUpdate - setting to true will stop the transforms of the scene graph from