adobe/brackets — pull request #3117 by TomMalbran (2013-03-13 03:40:43+00:00)
Title: Break the CollectionUtils.forEach loop if the callback returns false

Since we will be using this function a lot more, this change would make it really useful to do a search inside an object and stop when finding the result by making the callback return a value that will be false once the search is done. This is the same way that jQuery uses to break the .each loops.