Skip to content

Commit

Permalink
Removing asserts for now due to varying changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed May 22, 2018
1 parent 9ebfac8 commit 80af1e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/input/Input.js
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ define( function( require ) {

upEvent: function( pointer, event ) {
var trail = this.rootNode.trailUnderPointer( pointer ) || new Trail( this.rootNode );
assert && assert( trail.equals( pointer.trail ) );
// assert && assert( trail.equals( pointer.trail ) );

this.dispatchEvent( trail, 'up', pointer, event, true );

Expand All @@ -743,7 +743,7 @@ define( function( require ) {

downEvent: function( pointer, event ) {
var trail = this.rootNode.trailUnderPointer( pointer ) || new Trail( this.rootNode );
assert && assert( trail.equals( pointer.trail ) );
// assert && assert( trail.equals( pointer.trail ) );

this.dispatchEvent( trail, 'down', pointer, event, true );

Expand All @@ -770,7 +770,7 @@ define( function( require ) {

cancelEvent: function( pointer, event ) {
var trail = this.rootNode.trailUnderPointer( pointer ) || new Trail( this.rootNode );
assert && assert( trail.equals( pointer.trail ) );
// assert && assert( trail.equals( pointer.trail ) );

this.dispatchEvent( trail, 'cancel', pointer, event, true );

Expand Down

0 comments on commit 80af1e4

Please sign in to comment.