Skip to content

Commit 474fd8e

Browse files
committed
JSDoc fixes.
1 parent 54570a2 commit 474fd8e

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/core/SignalBinding.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,15 +121,15 @@ Phaser.SignalBinding.prototype = {
121121

122122
/**
123123
* @method Phaser.SignalBinding#getListener
124-
* @return {Function} Handler function bound to the signal.
124+
* @return {function} Handler function bound to the signal.
125125
*/
126126
getListener: function () {
127127
return this._listener;
128128
},
129129

130130
/**
131131
* @method Phaser.SignalBinding#getSignal
132-
* @return {Signal} Signal that listener is currently bound to.
132+
* @return {Phaser.Signal} Signal that listener is currently bound to.
133133
*/
134134
getSignal: function () {
135135
return this._signal;

src/loader/Cache.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1154,7 +1154,7 @@ Phaser.Cache.prototype = {
11541154
*
11551155
* @method Phaser.Cache#getFrameCount
11561156
* @param {string} key - Asset key of the image you want.
1157-
* @return {integer} Then number of frames. 0 if the image is not found.
1157+
* @return {number} Then number of frames. 0 if the image is not found.
11581158
*/
11591159
getFrameCount: function (key) {
11601160

src/pixi/renderers/canvas/CanvasRenderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ PIXI.CanvasRenderer = function(width, height, options)
104104
/**
105105
* The canvas 2d context that everything is drawn with
106106
* @property context
107-
* @type CanvasRenderingContext2D 2d Context
107+
* @type CanvasRenderingContext2D
108108
*/
109109
this.context = this.view.getContext( "2d", { alpha: this.transparent } );
110110

0 commit comments

Comments
 (0)