   wireOutlets: (view) ->
     @find('[outlet]').each ->
       element = $(this)
-      view[element.attr('outlet')] = element
+      outlet = element.attr('outlet')
+      view[outlet] = element
+      element.attr('outlet', null)
 
   bindEventHandlers: (view) ->
     for eventName in events

    @find('*').andSelf().data('view', this)
    @attr('triggerAttachEvents', true)
    step(this) for step in postProcessingSteps
    @initialize?(params)

  buildHtml: (params) ->
    @constructor.builder = new Builder

# Modified from 98bd6cf5f62e596bb6bfcff8e2dcea07ce007de4 -- add require `jquery`
$ = jQuery = require('jquery')

elements =
