Merge pull request #444 from nhowell/patch-1

Fix typos of method names in Button.js for docs
This commit is contained in:
Richard Davey
2014-02-19 15:01:21 +00:00
+3 -3
View File
@@ -475,7 +475,7 @@ Phaser.Button.prototype.onInputOverHandler = function (sprite, pointer) {
* Internal function that handles input events.
*
* @protected
* @method Phaser.Button.prototype.onInputOverHandler
* @method Phaser.Button.prototype.onInputOutHandler
* @param {Phaser.Button} sprite - The Button that the event occured on.
* @param {Phaser.Pointer} pointer - The Pointer that activated the Button.
*/
@@ -501,7 +501,7 @@ Phaser.Button.prototype.onInputOutHandler = function (sprite, pointer) {
* Internal function that handles input events.
*
* @protected
* @method Phaser.Button.prototype.onInputOverHandler
* @method Phaser.Button.prototype.onInputDownHandler
* @param {Phaser.Button} sprite - The Button that the event occured on.
* @param {Phaser.Pointer} pointer - The Pointer that activated the Button.
*/
@@ -527,7 +527,7 @@ Phaser.Button.prototype.onInputDownHandler = function (sprite, pointer) {
* Internal function that handles input events.
*
* @protected
* @method Phaser.Button.prototype.onInputOverHandler
* @method Phaser.Button.prototype.onInputUpHandler
* @param {Phaser.Button} sprite - The Button that the event occured on.
* @param {Phaser.Pointer} pointer - The Pointer that activated the Button.
*/