Skip to content

Commit 3a1c202

Browse files
committed
jsdoc fixes for SignalBindings.
1 parent b7b1e74 commit 3a1c202

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Change Log
6262

6363
Version 2.0.3 - "Allorallen" - -in development-
6464

65-
Updated
65+
Updates
6666

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

9192

9293
New Features

src/core/SignalBinding.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,13 @@
55
*/
66

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

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

0 commit comments

Comments
 (0)