MarionetteLabs/marionette.inspector — pull request #75 by jasonLaster (2014-11-21 14:43:18+00:00)
Title: Add function names when for model listeners

So, it's frustrating that everytime we serialize a function we get `function() { ... }`. When we serialize the `render` function of a view for example, we should be able to show in the inspector that it was the render function. There are two ways of doing this:
1. passing the name into inspectValue (sometimes we have it above)
2. passing the containing object into inspectValue, often the function is defined on an object

We handle both cirumstances here to show model listener names when they're available.