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

visible scope and callback as string #31

Merged
merged 1 commit into from
Dec 14, 2012
Merged

visible scope and callback as string #31

merged 1 commit into from
Dec 14, 2012

Conversation

andriijas
Copy link
Contributor

This fix makes it possible to do:

bindings: {
'#body': {
modelAttr: 'isWithoutOrgans',
visible: 'checkVisible'
}
},
checkVisible: function() {}

ie setting visible to a string as callback as other callback options and make it possible to apply on the view, not the window object.

@delambo delambo merged commit e70432c into nytimes:master Dec 14, 2012
@delambo
Copy link
Member

delambo commented Dec 14, 2012

Thanks, again, @andriijas!

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

Successfully merging this pull request may close these issues.

2 participants