Fixed lint issues in Gamepad and GamepadManager.

This commit is contained in:
Chris Andrew 2018-06-07 16:04:27 +01:00
parent 786d2068a3
commit 8d926754cb
2 changed files with 25 additions and 25 deletions

View file

@ -142,7 +142,7 @@ var Gamepad = new Class({
* @private
* @since 3.10.0
*/
this._LCRight = (buttons[15]) ? buttons[15] : _noButton;;
this._LCRight = (buttons[15]) ? buttons[15] : _noButton;
/**
* A reference to the Top Button in the Left Cluster.
@ -152,7 +152,7 @@ var Gamepad = new Class({
* @private
* @since 3.10.0
*/
this._LCTop = (buttons[12]) ? buttons[12] : _noButton;;
this._LCTop = (buttons[12]) ? buttons[12] : _noButton;
/**
* A reference to the Bottom Button in the Left Cluster.
@ -162,7 +162,7 @@ var Gamepad = new Class({
* @private
* @since 3.10.0
*/
this._LCBottom = (buttons[13]) ? buttons[13] : _noButton;;
this._LCBottom = (buttons[13]) ? buttons[13] : _noButton;
/**
* A reference to the Left Button in the Right Cluster.
@ -172,7 +172,7 @@ var Gamepad = new Class({
* @private
* @since 3.10.0
*/
this._RCLeft = (buttons[2]) ? buttons[2] : _noButton;;
this._RCLeft = (buttons[2]) ? buttons[2] : _noButton;
/**
* A reference to the Right Button in the Right Cluster.
@ -182,7 +182,7 @@ var Gamepad = new Class({
* @private
* @since 3.10.0
*/
this._RCRight = (buttons[1]) ? buttons[1] : _noButton;;
this._RCRight = (buttons[1]) ? buttons[1] : _noButton;
/**
* A reference to the Top Button in the Right Cluster.
@ -192,7 +192,7 @@ var Gamepad = new Class({
* @private
* @since 3.10.0
*/
this._RCTop = (buttons[3]) ? buttons[3] : _noButton;;
this._RCTop = (buttons[3]) ? buttons[3] : _noButton;
/**
* A reference to the Bottom Button in the Right Cluster.
@ -202,7 +202,7 @@ var Gamepad = new Class({
* @private
* @since 3.10.0
*/
this._RCBottom = (buttons[0]) ? buttons[0] : _noButton;;
this._RCBottom = (buttons[0]) ? buttons[0] : _noButton;
/**
* A reference to the Top Left Front Button (L1 Shoulder Button)
@ -212,7 +212,7 @@ var Gamepad = new Class({
* @private
* @since 3.10.0
*/
this._FBLeftTop = (buttons[4]) ? buttons[4] : _noButton;;
this._FBLeftTop = (buttons[4]) ? buttons[4] : _noButton;
/**
* A reference to the Bottom Left Front Button (L2 Shoulder Button)
@ -222,7 +222,7 @@ var Gamepad = new Class({
* @private
* @since 3.10.0
*/
this._FBLeftBottom = (buttons[6]) ? buttons[6] : _noButton;;
this._FBLeftBottom = (buttons[6]) ? buttons[6] : _noButton;
/**
* A reference to the Top Right Front Button (R1 Shoulder Button)
@ -232,7 +232,7 @@ var Gamepad = new Class({
* @private
* @since 3.10.0
*/
this._FBRightTop = (buttons[5]) ? buttons[5] : _noButton;;
this._FBRightTop = (buttons[5]) ? buttons[5] : _noButton;
/**
* A reference to the Bottom Right Front Button (R2 Shoulder Button)
@ -242,7 +242,7 @@ var Gamepad = new Class({
* @private
* @since 3.10.0
*/
this._FBRightBottom = (buttons[7]) ? buttons[7] : _noButton;;
this._FBRightBottom = (buttons[7]) ? buttons[7] : _noButton;
var _noAxis = { value: 0 };