         destination[key] = value for key, value of source
 
     destination
-
-$element = (name, props) ->
-    el = document.createElement name
-    for key, value of props
-        switch typeof value
-            when 'string', 'number'
-                switch key
-                    when 'class'
-                        el.setAttribute('class', '' + value)
-
-                    else el[key] = value
-
-            when 'object' then extend el[key], value
-
-    return el
 
 $append = (el, children...) ->
     for child in children

    el

$fromHTML = (html) ->
    parent = $element "div", innerHTML: html
    parent.childNodes[0]

jsonp = (obj) ->

            @publish statuses

    toElement: ->
        element = $fromHTML '<div class="view chorus_view" />'
        PubSub.bind this, => @updateElement element
        @updateElement element

