-
Notifications
You must be signed in to change notification settings - Fork 0
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
[CLOSED] Replaced toggleClass with add/removeClass where appropriate #3457
Comments
Comment by peterflynn It looks like this is implementing 'option A' from #3338, which is the most verbose of all the approaches. Any interest in looking into the cleaner options B or C? |
Comment by WebsiteDeveloper i did look at B and C. For me B seems the best for compatibility but i thought if this is decided a little later we could first merge this and maybe after that still change those places to use an utility function. |
Comment by peterflynn I think it would be a lot easier to do that cleanup now, rather than going through later and trying to identify addClass()/removeClass() pairs to migrate over. |
Comment by WebsiteDeveloper You are right, actually it would be fairly easy because all show up in this requests diff, but if you think it's better then i'll just add an utility function. |
Comment by WebsiteDeveloper
|
Comment by peterflynn
|
Comment by WebsiteDeveloper
|
Comment by peterflynn Thanks |
Issue by WebsiteDeveloper
Wednesday May 01, 2013 at 07:04 GMT
Originally opened as adobe/brackets#3689
Partial fix for #3338
WebsiteDeveloper included the following code: https://github.com/adobe/brackets/pull/3689/commits
The text was updated successfully, but these errors were encountered: