           type = @types[name]
           if type == 'number'
             value = parseFloat(value)
-#        console.log 'type', name, type, value
-
-#      console.log 'setAttribute', name, value
+        # console.log 'type', name, type, value
+
+        # console.log 'setAttribute', name, value
         setter = 'set_' + name
         if setter of @
-  #        console.log 'calling setter', setter, value #, @[setter]
+          # console.log 'calling setter', setter, value #, @[setter]
           @[setter]?(value)
         else if name.indexOf('on') == 0
           name = name.substr(2)
-#          console.log('binding to event expression', name, value, @)
+          # console.log('binding to event expression', name, value, @)
           @bind(name, @eventCallback(name, value, @))
           return
         else
-    #      console.log 'setting style', name, value
+          # console.log 'setting style', name, value
           @[name] = value
 
       # send event


    attributes = {}
    for i in el.attributes
  #        console.log 'attribute', i.name, i.value
      attributes[i.name] = i.value

    # swallow builtin attributes

      @sprite.set_id(id)

    animate: ->
      # console.log 'animate', arguments, @sprite.animate
      @sprite.animate.apply(this, arguments)


