To be honest, it doesn't even look like you ever needed bindWithEvent.
bindWithEvent does bind, then makes sure the Event object, plus all the
other parameters you pass will be arguments of the function.

myFunc.bindWithEvent(el, [thingOne, thingTwo]);

is used for the function of:

function myFunc(event, thingOne, thingTwo) {
    // this == el from above
}

i switch it with a simple bind for you here:
http://jsfiddle.net/seanmonstar/nSpBg/



On Sat, Nov 27, 2010 at 3:17 PM, Dailce <[email protected]> wrote:

> Yeah I'm totally stuck, can't seem to grasp this whole bind thing :(
>
> Here is the code that was working perfectly in 1.2, I just don't know
> what to do with the bindWithEvent to get it to working with 1.3.
>
> http://jsfiddle.net/3xREU/1/
>
> Any expertise is greatly appreciated.

Reply via email to