fixed mistype 'detach' -> 'detachEvent'
Merge pull request #1 from AaronOpfer/master

fixed mistype 'detach' -> 'detachEvent'