anchor.diff:        u.remove(layers, originLayer)
         layers.unshift(originLayer)
       u.detectResult layers, (layer) ->
  -      return firstInLayer(selectorOrElement, layer)
  -
  -  firstInLayer = (selectorOrElement, layer) ->
  -    elements = e.all(selectorOrElement)
  +      return firstInLayer(selector, layer)
  +
  +  firstInLayer = (selector, layer) ->
  +    elements = e.all(selector)
       return u.detectResult elements, (element) ->
         if isRealElement(element) && matchesLayer(element, layer)
           return element
  
positive.code:     A jQuery collection of matching elements.
    @experimental
    ###
    all = (selectorOrElements, options) ->
      options = u.options(options)
      resolved = e.resolveSelector(selectorOrElements, options.origin)
      root = options.root ? document
      matches = e.descendants(root, resolved)
      e.select matches, (match) ->
        isRealElement(element) && matchesLayer(element, options.layer)
  
  
negative.code:     or `undefined` if no such element was found.
    @experimental
    ###
    first = (selector, options) ->
      options = u.options(options, layer: 'auto')
      selector = e.resolveSelector(selector, options.origin)
      if options.layer == 'auto'
        firstInPriority(selector, options.origin)
      else
        firstInLayer(selector, options.layer)
  
    firstInPriority = (selector, origin) ->
      layers = ['popup', 'modal', 'page']
      if u.isPresent(origin)
        originLayer = layerOf(origin)
  