From 80af1e4417614837f25866caf214b7441e33fcbb Mon Sep 17 00:00:00 2001 From: Jonathan Olson Date: Tue, 22 May 2018 11:55:22 -0600 Subject: [PATCH] Removing asserts for now due to varying changes --- js/input/Input.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/input/Input.js b/js/input/Input.js index 902d60a70..b0aedd064 100644 --- a/js/input/Input.js +++ b/js/input/Input.js @@ -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 ); @@ -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 ); @@ -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 );