Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to unbind / destroy a binding. #54

Open
nevf opened this issue Sep 7, 2012 · 3 comments
Open

How to unbind / destroy a binding. #54

nevf opened this issue Sep 7, 2012 · 3 comments

Comments

@nevf
Copy link

nevf commented Sep 7, 2012

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
Copy link
Owner

weepy commented Sep 7, 2012

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 [email protected]:

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//issues/54.

@nevf
Copy link
Author

nevf commented Sep 7, 2012

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
Copy link
Owner

weepy commented Sep 9, 2012

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants