code: function dollarRaw(selector, context, childOnly) {
      function flatten(a) { // flatten list, keep non-lists, remove nulls
        return isList(a) ? collector(flexiEach, a, flatten) : a;
      }
      function filterElements(list) { // converts into array, makes sure context is respected
        return filter(collector(flexiEach, list, flatten), function(node) {
          var a = node;
          while (a = a['parentNode'])
            if (a == context[0] || childOnly)
              return a == context[0];
          // fall through to return undef
        });
      }
  
      if (context) {
        if ((context = dollarRaw(context)).length != 1)
          return collectUniqNodes(context, function(ci) { return dollarRaw(selector, ci, childOnly);});
        else if (isString(selector)) {
          if (isNode(context[0]) != 1)
            return [];
          else
            return childOnly ? filterElements(context[0].querySelectorAll(selector)) : context[0].querySelectorAll(selector);
        }
        else
          return filterElements(selector);
  
      }
      else if (isString(selector))
        return document.querySelectorAll(selector);
      else
        return collector(flexiEach, selector, flatten);
    }
docs: implementation of $ that does not produce a Minified list, but just an array @condblock !ie7compatibility