   # from https://github.com/spine/spine/tree/dev/src
   Events =
     bind: (ev, callback) ->
-#      console.log 'binding', ev, callback
+      # console.log 'binding', ev, callback
       evs   = ev.split(' ')
       calls = @hasOwnProperty('events') and @events or= {}
       for name in evs

        when 'x' then 'width' 
        when 'y' then 'height'
      attribute = attr
     # console.log('set_attribute', attr, typeof attr)
      @update()

    set_spacing: (space) ->
     # console.log('set_spacing', space, typeof space)
      spacing = space
      @update()

    set_inset: (i) ->
     # console.log('set_spacing', space, typeof space)
      inset = i
      @update()

    added: (child) ->
     # console.log 'added', child
      child.bind(axis, @update)
      super(child)


          type = @types[name]
          if type == 'number'
            value = parseFloat(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]
          @[setter]?(value)
        else if name.indexOf('on') == 0
          name = name.substr(2)
          # console.log('binding to event expression', name, value, @)
          @bind(name, @eventCallback(name, value, @))
          return
        else
          # console.log 'setting style', name, value
          @[name] = value

      # send event
