diff --git a/src/accessibility/AccessibilityManager.js b/src/accessibility/AccessibilityManager.js index d9b2ffd..0a696d1 100644 --- a/src/accessibility/AccessibilityManager.js +++ b/src/accessibility/AccessibilityManager.js @@ -142,7 +142,7 @@ /** * This recursive function will run throught he scene graph and add any new accessible objects to the DOM layer. - * @param displayObject {PIXI.Container|PIXI.Sprite|PIXI.extras.TilingSprite} the DisplayObject to check. + * @param displayObject {PIXI.Container} the DisplayObject to check. * @private */ AccessibilityManager.prototype.updateAccessibleObjects = function(displayObject) diff --git a/src/accessibility/AccessibilityManager.js b/src/accessibility/AccessibilityManager.js index d9b2ffd..0a696d1 100644 --- a/src/accessibility/AccessibilityManager.js +++ b/src/accessibility/AccessibilityManager.js @@ -142,7 +142,7 @@ /** * This recursive function will run throught he scene graph and add any new accessible objects to the DOM layer. - * @param displayObject {PIXI.Container|PIXI.Sprite|PIXI.extras.TilingSprite} the DisplayObject to check. + * @param displayObject {PIXI.Container} the DisplayObject to check. * @private */ AccessibilityManager.prototype.updateAccessibleObjects = function(displayObject) diff --git a/src/core/display/ObservablePoint.js b/src/core/display/ObservablePoint.js index 3af1330..841acb3 100644 --- a/src/core/display/ObservablePoint.js +++ b/src/core/display/ObservablePoint.js @@ -5,7 +5,7 @@ * @memberof PIXI * * @param cb {function} The function to be called when the point changes - * @param scope {object} The scope to be applied to the cb + * @param scope {any} The scope to be applied to the cb * @param [x=0] {number} position of the point on the x axis * @param [y=0] {number} position of the point on the y axis */ diff --git a/src/accessibility/AccessibilityManager.js b/src/accessibility/AccessibilityManager.js index d9b2ffd..0a696d1 100644 --- a/src/accessibility/AccessibilityManager.js +++ b/src/accessibility/AccessibilityManager.js @@ -142,7 +142,7 @@ /** * This recursive function will run throught he scene graph and add any new accessible objects to the DOM layer. - * @param displayObject {PIXI.Container|PIXI.Sprite|PIXI.extras.TilingSprite} the DisplayObject to check. + * @param displayObject {PIXI.Container} the DisplayObject to check. * @private */ AccessibilityManager.prototype.updateAccessibleObjects = function(displayObject) diff --git a/src/core/display/ObservablePoint.js b/src/core/display/ObservablePoint.js index 3af1330..841acb3 100644 --- a/src/core/display/ObservablePoint.js +++ b/src/core/display/ObservablePoint.js @@ -5,7 +5,7 @@ * @memberof PIXI * * @param cb {function} The function to be called when the point changes - * @param scope {object} The scope to be applied to the cb + * @param scope {any} The scope to be applied to the cb * @param [x=0] {number} position of the point on the x axis * @param [y=0] {number} position of the point on the y axis */ diff --git a/src/core/graphics/utils/bezierCurveTo.js b/src/core/graphics/utils/bezierCurveTo.js index f1b1599..68cb998 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=[]] {array} Path array to push points into + * @param [path=number[]] {array} Path array to push points into * @return {PIXI.Graphics} */ var bezierCurveTo = function (fromX, fromY, cpX, cpY, cpX2, cpY2, toX, toY, path) diff --git a/src/accessibility/AccessibilityManager.js b/src/accessibility/AccessibilityManager.js index d9b2ffd..0a696d1 100644 --- a/src/accessibility/AccessibilityManager.js +++ b/src/accessibility/AccessibilityManager.js @@ -142,7 +142,7 @@ /** * This recursive function will run throught he scene graph and add any new accessible objects to the DOM layer. - * @param displayObject {PIXI.Container|PIXI.Sprite|PIXI.extras.TilingSprite} the DisplayObject to check. + * @param displayObject {PIXI.Container} the DisplayObject to check. * @private */ AccessibilityManager.prototype.updateAccessibleObjects = function(displayObject) diff --git a/src/core/display/ObservablePoint.js b/src/core/display/ObservablePoint.js index 3af1330..841acb3 100644 --- a/src/core/display/ObservablePoint.js +++ b/src/core/display/ObservablePoint.js @@ -5,7 +5,7 @@ * @memberof PIXI * * @param cb {function} The function to be called when the point changes - * @param scope {object} The scope to be applied to the cb + * @param scope {any} The scope to be applied to the cb * @param [x=0] {number} position of the point on the x axis * @param [y=0] {number} position of the point on the y axis */ diff --git a/src/core/graphics/utils/bezierCurveTo.js b/src/core/graphics/utils/bezierCurveTo.js index f1b1599..68cb998 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=[]] {array} Path array to push points into + * @param [path=number[]] {array} Path array to push points into * @return {PIXI.Graphics} */ var bezierCurveTo = function (fromX, fromY, cpX, cpY, cpX2, cpY2, toX, toY, path) diff --git a/src/core/graphics/webgl/shaders/PrimitiveShader.js b/src/core/graphics/webgl/shaders/PrimitiveShader.js index 6c25bb3..81c1893 100644 --- a/src/core/graphics/webgl/shaders/PrimitiveShader.js +++ b/src/core/graphics/webgl/shaders/PrimitiveShader.js @@ -6,7 +6,7 @@ * @class * @memberof PIXI * @extends PIXI.Shader - * @param gl {Shader} The webgl shader manager this shader works for. + * @param gl {WebGLRenderingContext} The webgl shader manager this shader works for. */ function PrimitiveShader(gl) { diff --git a/src/accessibility/AccessibilityManager.js b/src/accessibility/AccessibilityManager.js index d9b2ffd..0a696d1 100644 --- a/src/accessibility/AccessibilityManager.js +++ b/src/accessibility/AccessibilityManager.js @@ -142,7 +142,7 @@ /** * This recursive function will run throught he scene graph and add any new accessible objects to the DOM layer. - * @param displayObject {PIXI.Container|PIXI.Sprite|PIXI.extras.TilingSprite} the DisplayObject to check. + * @param displayObject {PIXI.Container} the DisplayObject to check. * @private */ AccessibilityManager.prototype.updateAccessibleObjects = function(displayObject) diff --git a/src/core/display/ObservablePoint.js b/src/core/display/ObservablePoint.js index 3af1330..841acb3 100644 --- a/src/core/display/ObservablePoint.js +++ b/src/core/display/ObservablePoint.js @@ -5,7 +5,7 @@ * @memberof PIXI * * @param cb {function} The function to be called when the point changes - * @param scope {object} The scope to be applied to the cb + * @param scope {any} The scope to be applied to the cb * @param [x=0] {number} position of the point on the x axis * @param [y=0] {number} position of the point on the y axis */ diff --git a/src/core/graphics/utils/bezierCurveTo.js b/src/core/graphics/utils/bezierCurveTo.js index f1b1599..68cb998 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=[]] {array} Path array to push points into + * @param [path=number[]] {array} Path array to push points into * @return {PIXI.Graphics} */ var bezierCurveTo = function (fromX, fromY, cpX, cpY, cpX2, cpY2, toX, toY, path) diff --git a/src/core/graphics/webgl/shaders/PrimitiveShader.js b/src/core/graphics/webgl/shaders/PrimitiveShader.js index 6c25bb3..81c1893 100644 --- a/src/core/graphics/webgl/shaders/PrimitiveShader.js +++ b/src/core/graphics/webgl/shaders/PrimitiveShader.js @@ -6,7 +6,7 @@ * @class * @memberof PIXI * @extends PIXI.Shader - * @param gl {Shader} The webgl shader manager this shader works for. + * @param gl {WebGLRenderingContext} The webgl shader manager this shader works for. */ function PrimitiveShader(gl) { diff --git a/src/core/renderers/canvas/CanvasRenderer.js b/src/core/renderers/canvas/CanvasRenderer.js index eaca541..fb5dfdd 100644 --- a/src/core/renderers/canvas/CanvasRenderer.js +++ b/src/core/renderers/canvas/CanvasRenderer.js @@ -106,7 +106,7 @@ * @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 - * @param skipUpdateTransform {boolean} Whether to skip the update transform + * @param [skipUpdateTransform=false] {boolean} Whether to skip the update transform */ CanvasRenderer.prototype.render = function (displayObject, renderTexture, clear, transform, skipUpdateTransform) { diff --git a/src/accessibility/AccessibilityManager.js b/src/accessibility/AccessibilityManager.js index d9b2ffd..0a696d1 100644 --- a/src/accessibility/AccessibilityManager.js +++ b/src/accessibility/AccessibilityManager.js @@ -142,7 +142,7 @@ /** * This recursive function will run throught he scene graph and add any new accessible objects to the DOM layer. - * @param displayObject {PIXI.Container|PIXI.Sprite|PIXI.extras.TilingSprite} the DisplayObject to check. + * @param displayObject {PIXI.Container} the DisplayObject to check. * @private */ AccessibilityManager.prototype.updateAccessibleObjects = function(displayObject) diff --git a/src/core/display/ObservablePoint.js b/src/core/display/ObservablePoint.js index 3af1330..841acb3 100644 --- a/src/core/display/ObservablePoint.js +++ b/src/core/display/ObservablePoint.js @@ -5,7 +5,7 @@ * @memberof PIXI * * @param cb {function} The function to be called when the point changes - * @param scope {object} The scope to be applied to the cb + * @param scope {any} The scope to be applied to the cb * @param [x=0] {number} position of the point on the x axis * @param [y=0] {number} position of the point on the y axis */ diff --git a/src/core/graphics/utils/bezierCurveTo.js b/src/core/graphics/utils/bezierCurveTo.js index f1b1599..68cb998 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=[]] {array} Path array to push points into + * @param [path=number[]] {array} Path array to push points into * @return {PIXI.Graphics} */ var bezierCurveTo = function (fromX, fromY, cpX, cpY, cpX2, cpY2, toX, toY, path) diff --git a/src/core/graphics/webgl/shaders/PrimitiveShader.js b/src/core/graphics/webgl/shaders/PrimitiveShader.js index 6c25bb3..81c1893 100644 --- a/src/core/graphics/webgl/shaders/PrimitiveShader.js +++ b/src/core/graphics/webgl/shaders/PrimitiveShader.js @@ -6,7 +6,7 @@ * @class * @memberof PIXI * @extends PIXI.Shader - * @param gl {Shader} The webgl shader manager this shader works for. + * @param gl {WebGLRenderingContext} The webgl shader manager this shader works for. */ function PrimitiveShader(gl) { diff --git a/src/core/renderers/canvas/CanvasRenderer.js b/src/core/renderers/canvas/CanvasRenderer.js index eaca541..fb5dfdd 100644 --- a/src/core/renderers/canvas/CanvasRenderer.js +++ b/src/core/renderers/canvas/CanvasRenderer.js @@ -106,7 +106,7 @@ * @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 - * @param skipUpdateTransform {boolean} Whether to skip the update transform + * @param [skipUpdateTransform=false] {boolean} Whether to skip the update transform */ CanvasRenderer.prototype.render = function (displayObject, renderTexture, clear, transform, skipUpdateTransform) { diff --git a/src/core/renderers/webgl/filters/Filter.js b/src/core/renderers/webgl/filters/Filter.js index b64ace7..755ea02 100644 --- a/src/core/renderers/webgl/filters/Filter.js +++ b/src/core/renderers/webgl/filters/Filter.js @@ -8,7 +8,6 @@ * @memberof PIXI * @extends PIXI.Shader * @param [vertexSrc] {string} The source of the vertex shader. - * @param [fragmentSrc] {string} The source of the fragment shader. * @param [uniforms] {object} Custom uniforms to use to augment the built-in ones. * @param [fragmentSrc] {string} The source of the fragment shader. */ diff --git a/src/accessibility/AccessibilityManager.js b/src/accessibility/AccessibilityManager.js index d9b2ffd..0a696d1 100644 --- a/src/accessibility/AccessibilityManager.js +++ b/src/accessibility/AccessibilityManager.js @@ -142,7 +142,7 @@ /** * This recursive function will run throught he scene graph and add any new accessible objects to the DOM layer. - * @param displayObject {PIXI.Container|PIXI.Sprite|PIXI.extras.TilingSprite} the DisplayObject to check. + * @param displayObject {PIXI.Container} the DisplayObject to check. * @private */ AccessibilityManager.prototype.updateAccessibleObjects = function(displayObject) diff --git a/src/core/display/ObservablePoint.js b/src/core/display/ObservablePoint.js index 3af1330..841acb3 100644 --- a/src/core/display/ObservablePoint.js +++ b/src/core/display/ObservablePoint.js @@ -5,7 +5,7 @@ * @memberof PIXI * * @param cb {function} The function to be called when the point changes - * @param scope {object} The scope to be applied to the cb + * @param scope {any} The scope to be applied to the cb * @param [x=0] {number} position of the point on the x axis * @param [y=0] {number} position of the point on the y axis */ diff --git a/src/core/graphics/utils/bezierCurveTo.js b/src/core/graphics/utils/bezierCurveTo.js index f1b1599..68cb998 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=[]] {array} Path array to push points into + * @param [path=number[]] {array} Path array to push points into * @return {PIXI.Graphics} */ var bezierCurveTo = function (fromX, fromY, cpX, cpY, cpX2, cpY2, toX, toY, path) diff --git a/src/core/graphics/webgl/shaders/PrimitiveShader.js b/src/core/graphics/webgl/shaders/PrimitiveShader.js index 6c25bb3..81c1893 100644 --- a/src/core/graphics/webgl/shaders/PrimitiveShader.js +++ b/src/core/graphics/webgl/shaders/PrimitiveShader.js @@ -6,7 +6,7 @@ * @class * @memberof PIXI * @extends PIXI.Shader - * @param gl {Shader} The webgl shader manager this shader works for. + * @param gl {WebGLRenderingContext} The webgl shader manager this shader works for. */ function PrimitiveShader(gl) { diff --git a/src/core/renderers/canvas/CanvasRenderer.js b/src/core/renderers/canvas/CanvasRenderer.js index eaca541..fb5dfdd 100644 --- a/src/core/renderers/canvas/CanvasRenderer.js +++ b/src/core/renderers/canvas/CanvasRenderer.js @@ -106,7 +106,7 @@ * @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 - * @param skipUpdateTransform {boolean} Whether to skip the update transform + * @param [skipUpdateTransform=false] {boolean} Whether to skip the update transform */ CanvasRenderer.prototype.render = function (displayObject, renderTexture, clear, transform, skipUpdateTransform) { diff --git a/src/core/renderers/webgl/filters/Filter.js b/src/core/renderers/webgl/filters/Filter.js index b64ace7..755ea02 100644 --- a/src/core/renderers/webgl/filters/Filter.js +++ b/src/core/renderers/webgl/filters/Filter.js @@ -8,7 +8,6 @@ * @memberof PIXI * @extends PIXI.Shader * @param [vertexSrc] {string} The source of the vertex shader. - * @param [fragmentSrc] {string} The source of the fragment shader. * @param [uniforms] {object} Custom uniforms to use to augment the built-in ones. * @param [fragmentSrc] {string} The source of the fragment shader. */ diff --git a/src/core/renderers/webgl/managers/StencilManager.js b/src/core/renderers/webgl/managers/StencilManager.js index cf3f068..34d1181 100644 --- a/src/core/renderers/webgl/managers/StencilManager.js +++ b/src/core/renderers/webgl/managers/StencilManager.js @@ -18,7 +18,7 @@ /** * Changes the mask stack that is used by this manager. * - * @param stencilMaskStack {array} The mask stack + * @param stencilMaskStack {any[]} The mask stack */ StencilMaskManager.prototype.setMaskStack = function ( stencilMaskStack ) {