Skip to content

Commit

Permalink
jsdoc fixes for SignalBindings.
Browse files Browse the repository at this point in the history
  • Loading branch information
photonstorm committed Apr 10, 2014
1 parent b7b1e74 commit 3a1c202
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Change Log

Version 2.0.3 - "Allorallen" - -in development-

Updated
Updates

* Updated to [Pixi.js 1.5.2](https://github.com/GoodBoyDigital/pixi.js/releases/tag/v1.5.2)
* Updated to [p2.js 0.5.0](https://github.com/schteppe/p2.js/releases/tag/v0.5.0)
Expand All @@ -87,6 +87,7 @@ Updated
* p2.World.defaultFriction has been deprecated and is now p2.World.friction.
* p2.World now uses 4 bodies for the world boundaries, rather than 1 body with 4 shapes. This helps the broadphase massively.
* p2.World bounds are now included in the callback events such as beginContact and impact events.
* Thanks to @STuFF the Classes list in the API docs now indents sub-classes.


New Features
Expand Down
9 changes: 2 additions & 7 deletions src/core/SignalBinding.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,13 @@
*/

/**
* Phaser.SignalBinding
*
* Object that represents a binding between a Signal and a listener function.
* @class Phaser.SignalBinding
* @classdesc Object that represents a binding between a Signal and a listener function.
* This is an internal constructor and shouldn't be called by regular users.
* Inspired by Joa Ebert AS3 SignalBinding and Robert Penner's Slot classes.
*
* @class Phaser.SignalBinding
* @name SignalBinding
* @author Miller Medeiros http://millermedeiros.github.com/js-signals/
* @constructor
* @inner
* @param {Phaser.Signal} signal - Reference to Signal object that listener is currently bound to.
* @param {function} listener - Handler function bound to the signal.
* @param {boolean} isOnce - If binding should be executed just once.
Expand All @@ -38,7 +34,6 @@ Phaser.SignalBinding = function (signal, listener, isOnce, listenerContext, prio

/**
* @property {object|undefined|null} context - Context on which listener will be executed (object that should represent the `this` variable inside listener function).
* @memberof SignalBinding.prototype
*/
this.context = listenerContext;

Expand Down

0 comments on commit 3a1c202

Please sign in to comment.