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

Although that wouldn't work if the plugin wasn't truly ready until it did some sort of asynchronous initialization such as an ajax. However, in that case the plugin should have some sort of callback or status indication that it is truly ready, and *that* could be used to determine readiness rather than trying to infer it by looking at attached events. If the plugin isn't ready immediately and doesn't have some sort of external flag to indicate its readiness, it has a serious design issue that needs to be addressed.