Skip to content

Restructured if/elseif statements for better readability and removed useless variable 'focusClass'#93

Closed
thg2k wants to merge 2 commits into
jquery:masterfrom
thg2k:bee6f012b03eb323ce8bd03ab9e7fc52ff5cc4bf
Closed

Restructured if/elseif statements for better readability and removed useless variable 'focusClass'#93
thg2k wants to merge 2 commits into
jquery:masterfrom
thg2k:bee6f012b03eb323ce8bd03ab9e7fc52ff5cc4bf

Conversation

@thg2k
Copy link
Copy Markdown
Contributor

@thg2k thg2k commented Jan 13, 2011

Plus there is a mode change fix for tabs widget (755 -> 644)

@scottgonzalez
Copy link
Copy Markdown
Member

The focusClass isn't useless, it provides consistency with the implementation of hoverClass and allows better minification.

@thg2k
Copy link
Copy Markdown
Contributor Author

thg2k commented Jan 13, 2011

Then why there is no activeClass (lines 50, 144, 154, 161, 165, 209 etc)? or helperHiddenClass? and what about the use of "ui-state-hover" on line 88? hoverClass has a very particular meaning, I would even rename it to "hoverClassRemover" or something like that.
focusClass is useless, let's face it.

@thg2k
Copy link
Copy Markdown
Contributor Author

thg2k commented Feb 1, 2011

Ping?

@scottgonzalez
Copy link
Copy Markdown
Member

Please reduce this to just the if statement structure.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants