adobe/brackets — pull request #1838 by jbalsas (2012-10-14 13:14:49+00:00)
Title: New Resizer APIs: show, hide and toggle

Hi,

This is a pull request prior to the sidebar refactorization proposed in https://github.com/adobe/brackets/pull/1811

It creates three new APIs `show` `hide` and `toggle` on the `utils/Resizer` module to change the visibility of resizable elements.

It also scans a new class `collapsable` on the elements to trigger the toggle function when double clicking on the resizer element.

The `show` and `hide` APIs are meant to decouple the visualization panels from the actual working of the Modules. For example, once the statusbar indicator actions are implemented, the jslint results panel could be shown or hidden while keeping the scan running.