adobe/brackets — pull request #1043 by njx (2012-06-13 22:04:15+00:00)
Title: Code review tweaks for JS inline editor.

@jason-sanjose

Main tweaks:
* Got rid of extra regexp for detecting `funcName: function()`--merged that case into the regexp that was already handling `funcName = function()`.
* Got rid of redundant outer loop in `_findAllMatchingFunctions()`, changing it to a preflight that bails early if no matches are found.

Plus a couple other smaller changes.