Skip to content

Commit

Permalink
JSDoc fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
photonstorm committed Oct 21, 2014
1 parent 54570a2 commit 474fd8e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/core/SignalBinding.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,15 +121,15 @@ Phaser.SignalBinding.prototype = {

/**
* @method Phaser.SignalBinding#getListener
* @return {Function} Handler function bound to the signal.
* @return {function} Handler function bound to the signal.
*/
getListener: function () {
return this._listener;
},

/**
* @method Phaser.SignalBinding#getSignal
* @return {Signal} Signal that listener is currently bound to.
* @return {Phaser.Signal} Signal that listener is currently bound to.
*/
getSignal: function () {
return this._signal;
Expand Down
2 changes: 1 addition & 1 deletion src/loader/Cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@ Phaser.Cache.prototype = {
*
* @method Phaser.Cache#getFrameCount
* @param {string} key - Asset key of the image you want.
* @return {integer} Then number of frames. 0 if the image is not found.
* @return {number} Then number of frames. 0 if the image is not found.
*/
getFrameCount: function (key) {

Expand Down
2 changes: 1 addition & 1 deletion src/pixi/renderers/canvas/CanvasRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ PIXI.CanvasRenderer = function(width, height, options)
/**
* The canvas 2d context that everything is drawn with
* @property context
* @type CanvasRenderingContext2D 2d Context
* @type CanvasRenderingContext2D
*/
this.context = this.view.getContext( "2d", { alpha: this.transparent } );

Expand Down

0 comments on commit 474fd8e

Please sign in to comment.