jquery-simulate
jquery-simulate copied to clipboard
refactor dispatchEvent
currently it's passed in type as a formal parameter:
dispatchEvent: function( elem, type, event )
can't we just use event.type?