adobe/brackets — pull request #786 by njx (2012-05-02 00:30:31+00:00)
Title: Prefixed vars that refer to jQuery objects with $

Fixes #421.

In most cases this was straightforward. In a couple of places the variable didn't seem necessary since it wasn't used later; in other cases I replaced it with a chained call.

I also noticed some duplicated code in various places that create a semi-modal dialog similar to the Find UI. I added a comment but left them alone since I know we'll be refactoring that eventually.