     fragment
 
   constructor: (args...) ->
-    # args[0] ?= {}
     [html, postProcessingSteps] = @constructor.buildHtml -> @content(args...)
     jQuery.fn.init.call(this, html)
     @constructor = jQuery # sadly, jQuery assumes this.constructor == jQuery in pushStack

# Modified from 248eef5762e395c7d496510dbd06a20b65f89f45
$ = jQuery = require('jquery')

elements =


originalCleanData = jQuery.cleanData
jQuery.cleanData = (elements) ->
  for element in elements
    view = $(element).view()
    view.afterRemove?() if view?[0] == element
  originalCleanData(elements)

(exports ? this).View = View
