Permalink
Browse files

Remove debugger statements for when event handlers throw exceptions; …

…found by jshint
  • Loading branch information...
Dan Mosedale
Dan Mosedale committed Apr 12, 2012
1 parent be5e0e6 commit 1b2695206cd146ab0dbfe5ec3c19c019bb683279
Showing with 0 additions and 4 deletions.
  1. +0 −2 src/base/component.js
  2. +0 −2 src/core/event.js
View
@@ -75,7 +75,6 @@ define( function ( require ) {
handler.call( that, event ); // Invoke the handler with the event
} catch( e ) {
console.log( e );
- debugger;
}
}
}
@@ -95,7 +94,6 @@ define( function ( require ) {
handler.call( that, event ); // Invoke the handler with the event
} catch( e ) {
console.log( e );
- debugger;
}
}
return _queuedEvents.lenght;
View
@@ -50,15 +50,13 @@ define( function ( require ) {
targets[i].handleEvent( that );
} catch( e ) {
console.log( e );
- debugger;
}
}
} else {
try{
targets.handleEvent( that );
} catch( e ) {
console.log( e );
- debugger;
}
}
};

0 comments on commit 1b26952

Please sign in to comment.