weepy / o_O

Funnyface: HTML binding for teh lulz
http://weepy.github.com/o_O/
MIT License
150 stars 11 forks source link

How to unbind / destroy a binding. #54

Open nevf opened 11 years ago

nevf commented 11 years ago

Hi, I just found o_O today and it looks like a great fit for a project I'm working on.

I want to use o_O with Twitter Bootstrap dialogs and I want to unbind / destroy the binding when the dialog closes. I've looked through the code and docs and can't see any method to accomplish this.

Thanks, Neville

weepy commented 11 years ago

Hiya

I've just pasted version 0.4.2

https://gist.github.com/3664168

which has many improvements including unbinding.

I've not had time to do a full release ... but everything's mostly the same.

J

On Fri, Sep 7, 2012 at 4:01 AM, Neville Franks notifications@github.comwrote:

Hi, I just found o_O today and it looks like a great fit for a project I'm working on.

I want to use o_O with Twitter Bootstrap dialogs and I want to unbind / destroy the binding when the dialog closes. I've looked through the code and docs and can't see any method to accomplish this.

Thanks, Neville

— Reply to this email directly or view it on GitHubhttps://github.com/weepy/o_O/issues/54.

nevf commented 11 years ago

Hi, Thanks for that. I was able to change my usage to get around this for now, but am very pleased to see unbind() has been added.

Look forward to full release and hearing about the other new stuff.

FYI I have using Knockout.js in a larger, more complex app and was looking for something much more light weight for my current app. Nearly all templating/binding libs compile their templates and insert the compiled markup into the dom. For this app I want to work with existing html markup which fortunately o_O does and well.

Neville

weepy commented 11 years ago

great - glad to hear it's working out for you. I liked Knockout too, but found it a bit opinionated.