Skip to content

visible scope and callback as string#31

Merged
delambo merged 1 commit intonytimes:masterfrom
andriijas:master
Dec 14, 2012
Merged

visible scope and callback as string#31
delambo merged 1 commit intonytimes:masterfrom
andriijas:master

Conversation

@andriijas
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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