Skip to content

Commit c2d38fe

Browse files
committed
jshint passed all the p2 physics and fixed Debug.spriteBounds.
1 parent b666874 commit c2d38fe

9 files changed

Lines changed: 25 additions & 1450 deletions

File tree

.jshintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"globals" : { "Phaser": false, "PIXI": false },
2+
"globals" : { "Phaser": false, "PIXI": false, "p2": false },
33
// Ignore Environment Globals
44
"browser" : true, // Standard browser globals e.g. `window`, `document`.
55
"couch" : false,

Gruntfile.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ module.exports = function (grunt) {
128128
'src/input/SinglePad.js',
129129
'src/input/GamepadButton.js',
130130
'src/input/InputHandler.js',
131-
'src/input/Gestures.js',
132131

133132
'src/gameobjects/Events.js',
134133
'src/gameobjects/GameObjectFactory.js',

build/config.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@
8585
<script src="$path/src/input/SinglePad.js"></script>
8686
<script src="$path/src/input/GamepadButton.js"></script>
8787
<script src="$path/src/input/InputHandler.js"></script>
88-
<script src="$path/src/input/Gestures.js"></script>
8988
9089
<script src="$path/src/gameobjects/Events.js"></script>
9190
<script src="$path/src/gameobjects/GameObjectCreator.js"></script>

src/input/Input.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ Phaser.Input = function (game) {
239239
/**
240240
* @property {Phaser.Gestures} gestures - The Gestures manager.
241241
*/
242-
this.gestures = null;
242+
// this.gestures = null;
243243

244244
/**
245245
* @property {Phaser.Signal} onDown - A Signal that is dispatched each time a pointer is pressed down.
@@ -335,7 +335,7 @@ Phaser.Input.prototype = {
335335
this.touch = new Phaser.Touch(this.game);
336336
this.mspointer = new Phaser.MSPointer(this.game);
337337
this.gamepad = new Phaser.Gamepad(this.game);
338-
this.gestures = new Phaser.Gestures(this.game);
338+
// this.gestures = new Phaser.Gestures(this.game);
339339

340340
this.onDown = new Phaser.Signal();
341341
this.onUp = new Phaser.Signal();
@@ -376,7 +376,7 @@ Phaser.Input.prototype = {
376376
this.touch.stop();
377377
this.mspointer.stop();
378378
this.gamepad.stop();
379-
this.gestures.stop();
379+
// this.gestures.stop();
380380

381381
this.moveCallback = null;
382382

@@ -465,7 +465,7 @@ Phaser.Input.prototype = {
465465

466466
this._pollCounter = 0;
467467

468-
if (this.gestures.active) { this.gestures.update(); }
468+
// if (this.gestures.active) { this.gestures.update(); }
469469

470470
},
471471

0 commit comments

Comments
 (0)