Optional scope for events

Optional scope for events

Looking for any feedback on #3699 before committing, which is for allowing an alternative scope for events. There is a patch attached to the ticket. The ticket actually proposes a method signature that doesn't really fit jQuery's style. I added a patch that allows the following call signature instead.<div>
</div><div>$(...).bind("type", fn, scope);</div><div>$(...).bind("type", data, fn, scope);</div><div>
</div><div>This also applies to .one() and .live().</div><div>
</div><div>The patch utilizes the internal event.proxy method with a tweak to include an optional scope.</div>
<div><div>
</div><div>--</div><div>Brandon Aaron</div></div>