@@ -169,7 +169,7 @@ var InputManager = new Class({
169169 /**
170170 * An array of Pointers that have been added to the game.
171171 * The first entry is reserved for the Mouse Pointer, the rest are Touch Pointers.
172- *
172+ *
173173 * By default there is 1 touch pointer enabled. If you need more use the `addPointer` method to start them,
174174 * or set the `input.activePointers` property in the Game Config.
175175 *
@@ -181,7 +181,7 @@ var InputManager = new Class({
181181
182182 /**
183183 * The number of touch objects activated and being processed each update.
184- *
184+ *
185185 * You can change this by either calling `addPointer` at run-time, or by
186186 * setting the `input.activePointers` property in the Game Config.
187187 *
@@ -377,6 +377,8 @@ var InputManager = new Class({
377377 */
378378 update : function ( time )
379379 {
380+ var i ;
381+
380382 this . events . emit ( 'update' ) ;
381383
382384 this . ignoreEvents = false ;
@@ -387,7 +389,7 @@ var InputManager = new Class({
387389
388390 var pointers = this . pointers ;
389391
390- for ( var i = 0 ; i < this . pointersTotal ; i ++ )
392+ for ( i = 0 ; i < this . pointersTotal ; i ++ )
391393 {
392394 pointers [ i ] . reset ( ) ;
393395 }
@@ -410,7 +412,7 @@ var InputManager = new Class({
410412 var mouse = this . mousePointer ;
411413
412414 // Process the event queue, dispatching all of the events that have stored up
413- for ( var i = 0 ; i < len ; i += 2 )
415+ for ( i = 0 ; i < len ; i += 2 )
414416 {
415417 var type = queue [ i ] ;
416418 var event = queue [ i + 1 ] ;
@@ -521,19 +523,19 @@ var InputManager = new Class({
521523
522524 /**
523525 * Adds new Pointer objects to the Input Manager.
524- *
526+ *
525527 * By default Phaser creates 2 pointer objects: `mousePointer` and `pointer1`.
526- *
528+ *
527529 * You can create more either by calling this method, or by setting the `input.activePointers` property
528530 * in the Game Config.
529- *
531+ *
530532 * The first 10 pointers are available via the `InputPlugin.pointerX` properties.
531533 *
532534 * @method Phaser.Input.InputManager#addPointer
533535 * @since 3.10.0
534536 *
535537 * @param {integer } [quantity=1] The number of new Pointers to create.
536- *
538+ *
537539 * @return {Phaser.Input.Pointer[] } An array containing all of the new Pointer objects that were created.
538540 */
539541 addPointer : function ( quantity )
0 commit comments