jquery/jquery — comment on commit 24e416dca36df4b182a612dba37f8b6cdaa25916
File:  line 0
By dmethvin:

For that particular case I think it would be better to have the plugin set a data property on its frame element to indicate it's initialized. That definitely would be faster and less fragile than iterating through the internal events object.