batmanjs/batman — pull request #931 by jouh (2013-12-16 08:41:43+00:00)
Title: Use the view’s fireAndCall instead of just fire

This change makes it possible to specify the events that are called when the view’s node’s visibility is altered via a showif, hideif, insertif or removeif binding as functions on the prototype, just as with the rest of the view’s lifecycle events.

```coffeescript

class App.ExampleView extends Batman.View

viewWillShow: ->

viewDidShow: ->

viewWillHide: ->

viewDidHide: ->

```