| Summary: | Web Inspector: Convert NavigationItem subclasses to ES6 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Brian Burg <burg> | ||||
| Component: | Web Inspector | Assignee: | Brian Burg <burg> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Attachments: |
|
||||||
|
Description
Brian Burg
2015-07-28 10:38:57 PDT
Created attachment 257658 [details]
Patch
Comment on attachment 257658 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=257658&action=review > Source/WebInspectorUI/UserInterface/Views/NavigationItem.js:93 > var classNames = [WebInspector.NavigationItem.StyleClassName]; Could inline this and remove the global. > Source/WebInspectorUI/UserInterface/Views/NavigationItem.js:103 > +WebInspector.NavigationItem.HiddenStyleClassName = "hidden"; Could be inlined in get hidden(), and use classList.toggle("hidden", flag) there. Comment on attachment 257658 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=257658&action=review >> Source/WebInspectorUI/UserInterface/Views/NavigationItem.js:103 >> +WebInspector.NavigationItem.HiddenStyleClassName = "hidden"; > > Could be inlined in get hidden(), and use classList.toggle("hidden", flag) there. OK, fixed this. Committed r187519: <http://trac.webkit.org/changeset/187519> |