mozilla-b2g/gaia — pull request #20549 by gasolin (2014-06-16 08:00:22+00:00)
Title: Bug 998847 - [Settings] refactor storage.js with AMD pattern

- move dialog into root panel
- rename id to class
- fix marionette test
- un-registered observer when leaving the panel
- add enabled to observer/unobserve
- create separated modules for each menu item
- move usb and media item together
- fix binding