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

Timob 8116 minRowHeight and maxRowHeight. #1773

Merged
merged 3 commits into from Mar 21, 2012
Merged

Timob 8116 minRowHeight and maxRowHeight. #1773

merged 3 commits into from Mar 21, 2012

Conversation

nebrius
Copy link
Contributor

@nebrius nebrius commented Mar 21, 2012

No description provided.

return value;
},
value: "100%"
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR looks good, though I'd like to clean up these properties by:

// at the top
var postRefresh = function() {
    this._refreshSections();
};

Then in each prop, just set:

maxRowHeight: {
    post: postRefresh
}

Because the post function (as well as set/get) are internally apply()'d internally (thanks to mixProps()), you can use "this" in a function at the top.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@cb1kenobi
Copy link
Contributor

Code reviewed and tested. Request accepted.

cb1kenobi added a commit that referenced this pull request Mar 21, 2012
Timob 8116 minRowHeight and maxRowHeight.
@cb1kenobi cb1kenobi merged commit eaa000e into tidev:master Mar 21, 2012
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

Successfully merging this pull request may close these issues.

None yet

2 participants