nl_tokens: Use Event detection and if it fails it degrades to use duck typing detection to test if the supplied object is an Event
pl_tokens: function isEvent ( oObj ) { try { return isInstanceOf ( oObj , <mask> ) ; } catch ( erError ) { // Duck typing detection (If it sounds like a duck and it moves like a duck, it's a duck) if ( oObj . altKey !== und && ( oObj . srcElement || oObj . target ) ) { return true ; } } return false ; }