   doc.createTextNode(text)
 
 
-@el = element = (tagSpecOrEl, args...) ->
+@el = exports = (tagSpecOrEl, args...) ->
   [attributes, children] = normalizeArguments(args)
 
   if isElement(tagSpecOrEl)

    el.appendChild(fragment)


@el.getAttr = (el, attr) ->
  directAttr = directAttributes[attr]
  if directAttr
    el[directAttr]


@el.setAttr = (el, attr, value) ->
  directAttr = directAttributes[attr]
  if directAttr
    if attr is 'html' and typeof value isnt 'string'

  else
    [tag, id, classes] = parseTagSpec(tagSpecOrEl)
    el = doc.createElement(tag)
    exports.setAttr(el, 'id', id) if id
    exports.setAttr(el, 'className', classes.join(' ')) if classes.length

  if children.length
    exports.setAttr(el, 'html', children)
