Remy Sharp

Results 126 comments of Remy Sharp

I can't actually remember myself, but what's the value of `this` inside your transform function? It might give you what you need (otherwise, I think passing in the element to...

Yeah, I just spotted that in the docs (which I should have really known!). I think a PR that has the transform function (and perhaps the other functions) take the...

Can you paste up the code that you're using?

I think the `transform` should actually contain the following (since it receives the updated array, and doesn't fire for each element): ``` js transform: function (cat) { return cat.map(_ =>...

Would appreciate input on this: https://github.com/remy/bind.js/issues/23

Isn't this solved by exporting the object? On Sat, 2 Jan 2016 15:58 northkode [email protected] wrote: > Would be nice to have a bindcleanup() so that there isn't left over...

Ah ha. You're absolutely right. Hmm...yeah, it should have an unbind methods then too. Good shout. Do you want to have a go at a PR for this?

What's the actual bug you're seeing, because when I (tried to) replicate in jsbin: http://jsbin.com/riyaku/edit?html,js,output clicking "test" resulted in all the £10.50 to change to £112.05. Oh unless you want...

Happy to add to the dist version (via this https://github.com/remy/bind.js/blob/master/package.json#L10 build) but the dev version won't/can't contain the version string since the source isn't generated.

Happy to add to both, but just omit the version string from the dev version. It should be straight forward to do a perl regexp replace to get the version...