         if domain.length is 1
           domain = _query(domain[0], children)
         else
-          #@todo: BUG if selector count > 1
-          domain = $$.map(-> _query domain, children )
+          #@TODO: BUG if selector count > 1
+          domain = $$.map(-> _query domain, children)
 
     else if ELEMENT_TYPES.indexOf(selector.nodeType) >= 0 or selector is window
       domain = [selector]

      unless elements then elements = []
    else
      elements = domain.querySelectorAll selector

    if elements.nodeType then [elements] else Array::slice.call(elements)


  _compact = (array) ->
    console.log array, [1..100]
    # array = [1..10]
    # array.filter (x) -> x > 5
    array.filter (i) -> i?
    # array.filter (item) -> item isnt undefined and item isnt null


  # Instance Methods
  _Quo::forEach = [].forEach

  _Quo::indexOf = EMPTY_ARRAY.indexOf

  _Quo::each = (callback) ->
    @forEach (element, index) -> callback.call element, index, element

  # Exports
  # ---------------------------------------------------------------------------
  _Quo:: = $$.fn = {}

  # Instance Methods
  $$.fn.forEach = EMPTY_ARRAY.forEach

  $$.fn.indexOf = EMPTY_ARRAY.indexOf

  $$.fn.each = (callback) ->
    @forEach (element, index) -> callback.call element, index, element

  $$



    domain

  _query = (domain, selector) ->
    if CLASS_SELECTOR.test(selector)
      elements = domain.getElementsByClassName selector.replace(".", "")
    else if TAG_SELECTOR.test(selector)
