diff --git a/packages/mixin-get-child-by-name/src/index.js b/packages/mixin-get-child-by-name/src/index.js index da5c8be..7f16cd3 100644 --- a/packages/mixin-get-child-by-name/src/index.js +++ b/packages/mixin-get-child-by-name/src/index.js @@ -4,13 +4,14 @@ * The instance name of the object. * * @memberof PIXI.DisplayObject# - * @member {string} + * @member {string} name */ 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/packages/mixin-get-child-by-name/src/index.js b/packages/mixin-get-child-by-name/src/index.js index da5c8be..7f16cd3 100644 --- a/packages/mixin-get-child-by-name/src/index.js +++ b/packages/mixin-get-child-by-name/src/index.js @@ -4,13 +4,14 @@ * The instance name of the object. * * @memberof PIXI.DisplayObject# - * @member {string} + * @member {string} name */ 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/packages/mixin-get-global-position/src/index.js b/packages/mixin-get-global-position/src/index.js index 414c701..af940ee 100644 --- a/packages/mixin-get-global-position/src/index.js +++ b/packages/mixin-get-global-position/src/index.js @@ -4,6 +4,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