     type = adapter.get_attr(from, 'type')
     # FIXME maybe save all needed attributes in hash ????
     handler = (e) ->
-      c e.type
+      c e.type # TODO into log
+
       result = {text: null, attribute: null}
       if e.type == "input" || e.type == "childList" || e.type == "change" || e.type == "DOMNodeInserted"
         result['text'] = adapter.text(from)

        new_attr  = adapter.get_attr(from, attr_name)

        result['text'] = new_attr

        #        # when old < new, then we add value, send diff
        #        # when old = new, then swap value, send new
        #        # when old > new, then we remove value, send new
        #        new_value = null
        #        old_attr_length = old_attr.length
        #        new_attr_length = new_attr.length
        #
        #        if old_attr_length < new_attr_length
        #
        #        else if old_attr_length == new_attr_length
        #
        #        else # old > new


        result['attribute'] = attr_name

      if e.type == "DOMAttrModified" # for ie 9...
        attr_name = e.originalEvent.attrName

        new_attr  = adapter.get_attr(from, attr_name)
        result['text'] = new_attr
        result['attribute'] = attr_name
        result['previous'] = old_attr

      clb(result)

