 
     attributes = flattenattributes(el.attributes)
 
-    # swallow builtin attributes
+    # swallow builtin mouse attributes to prevent events from the tag
     for event in mouseEvents
       el.removeAttribute('on' + event)
 

          child.$defer = null
          # console.log 'creating class child in parent', child, parent
          initFromElement(child, parent)


  class Layout extends Node

        classattributes.$methods['set_' + attributes.name] = compileScript(script, args, type)
        # console.log 'added setter', 'set_' + attributes.name, args, classattributes.$methods
      else if childname == 'attribute'
        classattributes[attributes.name] = attributes.value
        classattributes.$types[attributes.name] = attributes.type
        # console.log 'added attribute', attributes, classattributes
