diff --git a/src/accessibility/AccessibilityManager.js b/src/accessibility/AccessibilityManager.js index f62dc9c..d24a420 100644 --- a/src/accessibility/AccessibilityManager.js +++ b/src/accessibility/AccessibilityManager.js @@ -39,7 +39,7 @@ /** * A simple pool for storing divs. * - * @type {Array} + * @type {*} * @private */ this.pool = []; @@ -69,7 +69,7 @@ /** * The array of currently active accessible items. * - * @member {Array} + * @member {*[]} * @private */ this.children = []; @@ -83,7 +83,7 @@ /** * stores the state of the manager. If there are no accessible objects or the mouse is moving the will be false. * - * @member {Array} + * @member {*[]} * @private */ this.isActive = false; @@ -305,20 +305,20 @@ } - if(displayObject.accessibleTitle) + if(displayObject.accessibleTitle) { div.title = displayObject.accessibleTitle; - } - else if (!displayObject.accessibleTitle && !displayObject.accessibleHint) + } + else if (!displayObject.accessibleTitle && !displayObject.accessibleHint) { div.title = 'displayObject ' + this.tabIndex; } - if(displayObject.accessibleHint) + if(displayObject.accessibleHint) { - div.setAttribute('aria-label', displayObject.accessibleHint); + div.setAttribute('aria-label', displayObject.accessibleHint); } - + // diff --git a/src/accessibility/AccessibilityManager.js b/src/accessibility/AccessibilityManager.js index f62dc9c..d24a420 100644 --- a/src/accessibility/AccessibilityManager.js +++ b/src/accessibility/AccessibilityManager.js @@ -39,7 +39,7 @@ /** * A simple pool for storing divs. * - * @type {Array} + * @type {*} * @private */ this.pool = []; @@ -69,7 +69,7 @@ /** * The array of currently active accessible items. * - * @member {Array} + * @member {*[]} * @private */ this.children = []; @@ -83,7 +83,7 @@ /** * stores the state of the manager. If there are no accessible objects or the mouse is moving the will be false. * - * @member {Array} + * @member {*[]} * @private */ this.isActive = false; @@ -305,20 +305,20 @@ } - if(displayObject.accessibleTitle) + if(displayObject.accessibleTitle) { div.title = displayObject.accessibleTitle; - } - else if (!displayObject.accessibleTitle && !displayObject.accessibleHint) + } + else if (!displayObject.accessibleTitle && !displayObject.accessibleHint) { div.title = 'displayObject ' + this.tabIndex; } - if(displayObject.accessibleHint) + if(displayObject.accessibleHint) { - div.setAttribute('aria-label', displayObject.accessibleHint); + div.setAttribute('aria-label', displayObject.accessibleHint); } - + // diff --git a/src/core/graphics/utils/bezierCurveTo.js b/src/core/graphics/utils/bezierCurveTo.js index 4b4edd1..05e27c4 100644 --- a/src/core/graphics/utils/bezierCurveTo.js +++ b/src/core/graphics/utils/bezierCurveTo.js @@ -10,7 +10,7 @@ * @param cpY2 {number} Second Control point y * @param toX {number} Destination point x * @param toY {number} Destination point y - * @param [path=number[]] {array} Path array to push points into + * @param [path=number[]] Path array to push points into * @return {PIXI.Graphics} */ var bezierCurveTo = function (fromX, fromY, cpX, cpY, cpX2, cpY2, toX, toY, path) // jshint ignore:line diff --git a/src/accessibility/AccessibilityManager.js b/src/accessibility/AccessibilityManager.js index f62dc9c..d24a420 100644 --- a/src/accessibility/AccessibilityManager.js +++ b/src/accessibility/AccessibilityManager.js @@ -39,7 +39,7 @@ /** * A simple pool for storing divs. * - * @type {Array} + * @type {*} * @private */ this.pool = []; @@ -69,7 +69,7 @@ /** * The array of currently active accessible items. * - * @member {Array} + * @member {*[]} * @private */ this.children = []; @@ -83,7 +83,7 @@ /** * stores the state of the manager. If there are no accessible objects or the mouse is moving the will be false. * - * @member {Array} + * @member {*[]} * @private */ this.isActive = false; @@ -305,20 +305,20 @@ } - if(displayObject.accessibleTitle) + if(displayObject.accessibleTitle) { div.title = displayObject.accessibleTitle; - } - else if (!displayObject.accessibleTitle && !displayObject.accessibleHint) + } + else if (!displayObject.accessibleTitle && !displayObject.accessibleHint) { div.title = 'displayObject ' + this.tabIndex; } - if(displayObject.accessibleHint) + if(displayObject.accessibleHint) { - div.setAttribute('aria-label', displayObject.accessibleHint); + div.setAttribute('aria-label', displayObject.accessibleHint); } - + // diff --git a/src/core/graphics/utils/bezierCurveTo.js b/src/core/graphics/utils/bezierCurveTo.js index 4b4edd1..05e27c4 100644 --- a/src/core/graphics/utils/bezierCurveTo.js +++ b/src/core/graphics/utils/bezierCurveTo.js @@ -10,7 +10,7 @@ * @param cpY2 {number} Second Control point y * @param toX {number} Destination point x * @param toY {number} Destination point y - * @param [path=number[]] {array} Path array to push points into + * @param [path=number[]] Path array to push points into * @return {PIXI.Graphics} */ var bezierCurveTo = function (fromX, fromY, cpX, cpY, cpX2, cpY2, toX, toY, path) // jshint ignore:line diff --git a/src/core/math/Matrix.js b/src/core/math/Matrix.js index 2313ae3..5d591ee 100644 --- a/src/core/math/Matrix.js +++ b/src/core/math/Matrix.js @@ -109,7 +109,7 @@ * Creates an array from the current Matrix object. * * @param transpose {boolean} Whether we need to transpose the matrix or not - * @param [out] {Array} If provided the array will be assigned to out + * @param [out=Float32Array[]} If provided the array will be assigned to out * @return {number[]} the newly created array which contains the matrix */ Matrix.prototype.toArray = function (transpose, out) diff --git a/src/accessibility/AccessibilityManager.js b/src/accessibility/AccessibilityManager.js index f62dc9c..d24a420 100644 --- a/src/accessibility/AccessibilityManager.js +++ b/src/accessibility/AccessibilityManager.js @@ -39,7 +39,7 @@ /** * A simple pool for storing divs. * - * @type {Array} + * @type {*} * @private */ this.pool = []; @@ -69,7 +69,7 @@ /** * The array of currently active accessible items. * - * @member {Array} + * @member {*[]} * @private */ this.children = []; @@ -83,7 +83,7 @@ /** * stores the state of the manager. If there are no accessible objects or the mouse is moving the will be false. * - * @member {Array} + * @member {*[]} * @private */ this.isActive = false; @@ -305,20 +305,20 @@ } - if(displayObject.accessibleTitle) + if(displayObject.accessibleTitle) { div.title = displayObject.accessibleTitle; - } - else if (!displayObject.accessibleTitle && !displayObject.accessibleHint) + } + else if (!displayObject.accessibleTitle && !displayObject.accessibleHint) { div.title = 'displayObject ' + this.tabIndex; } - if(displayObject.accessibleHint) + if(displayObject.accessibleHint) { - div.setAttribute('aria-label', displayObject.accessibleHint); + div.setAttribute('aria-label', displayObject.accessibleHint); } - + // diff --git a/src/core/graphics/utils/bezierCurveTo.js b/src/core/graphics/utils/bezierCurveTo.js index 4b4edd1..05e27c4 100644 --- a/src/core/graphics/utils/bezierCurveTo.js +++ b/src/core/graphics/utils/bezierCurveTo.js @@ -10,7 +10,7 @@ * @param cpY2 {number} Second Control point y * @param toX {number} Destination point x * @param toY {number} Destination point y - * @param [path=number[]] {array} Path array to push points into + * @param [path=number[]] Path array to push points into * @return {PIXI.Graphics} */ var bezierCurveTo = function (fromX, fromY, cpX, cpY, cpX2, cpY2, toX, toY, path) // jshint ignore:line diff --git a/src/core/math/Matrix.js b/src/core/math/Matrix.js index 2313ae3..5d591ee 100644 --- a/src/core/math/Matrix.js +++ b/src/core/math/Matrix.js @@ -109,7 +109,7 @@ * Creates an array from the current Matrix object. * * @param transpose {boolean} Whether we need to transpose the matrix or not - * @param [out] {Array} If provided the array will be assigned to out + * @param [out=Float32Array[]} If provided the array will be assigned to out * @return {number[]} the newly created array which contains the matrix */ Matrix.prototype.toArray = function (transpose, out) diff --git a/src/core/renderers/canvas/CanvasRenderer.js b/src/core/renderers/canvas/CanvasRenderer.js index 502b83d..c445a66 100644 --- a/src/core/renderers/canvas/CanvasRenderer.js +++ b/src/core/renderers/canvas/CanvasRenderer.js @@ -94,7 +94,7 @@ // constructor CanvasRenderer.prototype = Object.create(SystemRenderer.prototype); -CanvasRenderer.prototype.constructor = CanvasRenderer; +CanvasRenderer.prototype.constructor = CanvasRenderer; module.exports = CanvasRenderer; utils.pluginTarget.mixin(CanvasRenderer); @@ -102,7 +102,7 @@ /** * Renders the object to this canvas view * - * @param displayObject {core.DisplayObject} The object to be rendered + * @param displayObject {PIXI.DisplayObject} The object to be rendered * @param [renderTexture] {PIXI.RenderTexture} A render texture to be rendered to. If unset, it will render to the root context. * @param [clear=false] {boolean} Whether to clear the canvas before drawing * @param [transform] {PIXI.Transform} A transformation to be applied diff --git a/src/accessibility/AccessibilityManager.js b/src/accessibility/AccessibilityManager.js index f62dc9c..d24a420 100644 --- a/src/accessibility/AccessibilityManager.js +++ b/src/accessibility/AccessibilityManager.js @@ -39,7 +39,7 @@ /** * A simple pool for storing divs. * - * @type {Array} + * @type {*} * @private */ this.pool = []; @@ -69,7 +69,7 @@ /** * The array of currently active accessible items. * - * @member {Array} + * @member {*[]} * @private */ this.children = []; @@ -83,7 +83,7 @@ /** * stores the state of the manager. If there are no accessible objects or the mouse is moving the will be false. * - * @member {Array} + * @member {*[]} * @private */ this.isActive = false; @@ -305,20 +305,20 @@ } - if(displayObject.accessibleTitle) + if(displayObject.accessibleTitle) { div.title = displayObject.accessibleTitle; - } - else if (!displayObject.accessibleTitle && !displayObject.accessibleHint) + } + else if (!displayObject.accessibleTitle && !displayObject.accessibleHint) { div.title = 'displayObject ' + this.tabIndex; } - if(displayObject.accessibleHint) + if(displayObject.accessibleHint) { - div.setAttribute('aria-label', displayObject.accessibleHint); + div.setAttribute('aria-label', displayObject.accessibleHint); } - + // diff --git a/src/core/graphics/utils/bezierCurveTo.js b/src/core/graphics/utils/bezierCurveTo.js index 4b4edd1..05e27c4 100644 --- a/src/core/graphics/utils/bezierCurveTo.js +++ b/src/core/graphics/utils/bezierCurveTo.js @@ -10,7 +10,7 @@ * @param cpY2 {number} Second Control point y * @param toX {number} Destination point x * @param toY {number} Destination point y - * @param [path=number[]] {array} Path array to push points into + * @param [path=number[]] Path array to push points into * @return {PIXI.Graphics} */ var bezierCurveTo = function (fromX, fromY, cpX, cpY, cpX2, cpY2, toX, toY, path) // jshint ignore:line diff --git a/src/core/math/Matrix.js b/src/core/math/Matrix.js index 2313ae3..5d591ee 100644 --- a/src/core/math/Matrix.js +++ b/src/core/math/Matrix.js @@ -109,7 +109,7 @@ * Creates an array from the current Matrix object. * * @param transpose {boolean} Whether we need to transpose the matrix or not - * @param [out] {Array} If provided the array will be assigned to out + * @param [out=Float32Array[]} If provided the array will be assigned to out * @return {number[]} the newly created array which contains the matrix */ Matrix.prototype.toArray = function (transpose, out) diff --git a/src/core/renderers/canvas/CanvasRenderer.js b/src/core/renderers/canvas/CanvasRenderer.js index 502b83d..c445a66 100644 --- a/src/core/renderers/canvas/CanvasRenderer.js +++ b/src/core/renderers/canvas/CanvasRenderer.js @@ -94,7 +94,7 @@ // constructor CanvasRenderer.prototype = Object.create(SystemRenderer.prototype); -CanvasRenderer.prototype.constructor = CanvasRenderer; +CanvasRenderer.prototype.constructor = CanvasRenderer; module.exports = CanvasRenderer; utils.pluginTarget.mixin(CanvasRenderer); @@ -102,7 +102,7 @@ /** * Renders the object to this canvas view * - * @param displayObject {core.DisplayObject} The object to be rendered + * @param displayObject {PIXI.DisplayObject} The object to be rendered * @param [renderTexture] {PIXI.RenderTexture} A render texture to be rendered to. If unset, it will render to the root context. * @param [clear=false] {boolean} Whether to clear the canvas before drawing * @param [transform] {PIXI.Transform} A transformation to be applied diff --git a/src/core/renderers/webgl/TextureManager.js b/src/core/renderers/webgl/TextureManager.js index e2b8f6f..a9cbe77 100644 --- a/src/core/renderers/webgl/TextureManager.js +++ b/src/core/renderers/webgl/TextureManager.js @@ -29,7 +29,7 @@ /** * Track textures in the renderer so we can no longer listen to them on destruction. * - * @member {array} + * @member {*[]} * @private */ this._managedTextures = []; diff --git a/src/accessibility/AccessibilityManager.js b/src/accessibility/AccessibilityManager.js index f62dc9c..d24a420 100644 --- a/src/accessibility/AccessibilityManager.js +++ b/src/accessibility/AccessibilityManager.js @@ -39,7 +39,7 @@ /** * A simple pool for storing divs. * - * @type {Array} + * @type {*} * @private */ this.pool = []; @@ -69,7 +69,7 @@ /** * The array of currently active accessible items. * - * @member {Array} + * @member {*[]} * @private */ this.children = []; @@ -83,7 +83,7 @@ /** * stores the state of the manager. If there are no accessible objects or the mouse is moving the will be false. * - * @member {Array} + * @member {*[]} * @private */ this.isActive = false; @@ -305,20 +305,20 @@ } - if(displayObject.accessibleTitle) + if(displayObject.accessibleTitle) { div.title = displayObject.accessibleTitle; - } - else if (!displayObject.accessibleTitle && !displayObject.accessibleHint) + } + else if (!displayObject.accessibleTitle && !displayObject.accessibleHint) { div.title = 'displayObject ' + this.tabIndex; } - if(displayObject.accessibleHint) + if(displayObject.accessibleHint) { - div.setAttribute('aria-label', displayObject.accessibleHint); + div.setAttribute('aria-label', displayObject.accessibleHint); } - + // diff --git a/src/core/graphics/utils/bezierCurveTo.js b/src/core/graphics/utils/bezierCurveTo.js index 4b4edd1..05e27c4 100644 --- a/src/core/graphics/utils/bezierCurveTo.js +++ b/src/core/graphics/utils/bezierCurveTo.js @@ -10,7 +10,7 @@ * @param cpY2 {number} Second Control point y * @param toX {number} Destination point x * @param toY {number} Destination point y - * @param [path=number[]] {array} Path array to push points into + * @param [path=number[]] Path array to push points into * @return {PIXI.Graphics} */ var bezierCurveTo = function (fromX, fromY, cpX, cpY, cpX2, cpY2, toX, toY, path) // jshint ignore:line diff --git a/src/core/math/Matrix.js b/src/core/math/Matrix.js index 2313ae3..5d591ee 100644 --- a/src/core/math/Matrix.js +++ b/src/core/math/Matrix.js @@ -109,7 +109,7 @@ * Creates an array from the current Matrix object. * * @param transpose {boolean} Whether we need to transpose the matrix or not - * @param [out] {Array} If provided the array will be assigned to out + * @param [out=Float32Array[]} If provided the array will be assigned to out * @return {number[]} the newly created array which contains the matrix */ Matrix.prototype.toArray = function (transpose, out) diff --git a/src/core/renderers/canvas/CanvasRenderer.js b/src/core/renderers/canvas/CanvasRenderer.js index 502b83d..c445a66 100644 --- a/src/core/renderers/canvas/CanvasRenderer.js +++ b/src/core/renderers/canvas/CanvasRenderer.js @@ -94,7 +94,7 @@ // constructor CanvasRenderer.prototype = Object.create(SystemRenderer.prototype); -CanvasRenderer.prototype.constructor = CanvasRenderer; +CanvasRenderer.prototype.constructor = CanvasRenderer; module.exports = CanvasRenderer; utils.pluginTarget.mixin(CanvasRenderer); @@ -102,7 +102,7 @@ /** * Renders the object to this canvas view * - * @param displayObject {core.DisplayObject} The object to be rendered + * @param displayObject {PIXI.DisplayObject} The object to be rendered * @param [renderTexture] {PIXI.RenderTexture} A render texture to be rendered to. If unset, it will render to the root context. * @param [clear=false] {boolean} Whether to clear the canvas before drawing * @param [transform] {PIXI.Transform} A transformation to be applied diff --git a/src/core/renderers/webgl/TextureManager.js b/src/core/renderers/webgl/TextureManager.js index e2b8f6f..a9cbe77 100644 --- a/src/core/renderers/webgl/TextureManager.js +++ b/src/core/renderers/webgl/TextureManager.js @@ -29,7 +29,7 @@ /** * Track textures in the renderer so we can no longer listen to them on destruction. * - * @member {array} + * @member {*[]} * @private */ this._managedTextures = []; diff --git a/src/core/renderers/webgl/WebGLRenderer.js b/src/core/renderers/webgl/WebGLRenderer.js index 3b40f53..18dd8c1 100644 --- a/src/core/renderers/webgl/WebGLRenderer.js +++ b/src/core/renderers/webgl/WebGLRenderer.js @@ -197,7 +197,7 @@ * @param displayObject {core.DisplayObject} the object to be rendered * @param renderTexture {core.RenderTexture} * @param clear {Boolean} - * @param transform {core.Matrix} + * @param transform {PIXI.Transform} * @param skipUpdateTransform {Boolean} */ WebGLRenderer.prototype.render = function (displayObject, renderTexture, clear, transform, skipUpdateTransform) @@ -335,8 +335,8 @@ /** * Binds a render texture for rendering * - * @param renderTexture {core.RenderTexture} The render texture to render - * @param transform {core.Matrix} The transform to be applied to the render texture + * @param renderTexture {PIXI.RenderTexture} The render texture to render + * @param transform {PIXI.Transform} The transform to be applied to the render texture */ WebGLRenderer.prototype.bindRenderTexture = function (renderTexture, transform) {