-# Modified from 248eef5762e395c7d496510dbd06a20b65f89f45
+# Modified from f6ef4ba2ffdc27b6c9a057560f1f527b1e0f3e8b
 $ = jQuery = require('jquery')
 
 elements =


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

(exports ? this).View = View

    fragment

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