src/match.js
function checkAttributes (priority, element, ignore, path, parent = element.parentNode) {
  const pattern = findAttributesPattern(priority, element, ignore)
  if (pattern) {
    const matches = parent.querySelectorAll(pattern)
    if (matches.length === 1) {
      path.unshift(pattern)
      return true
    }
  }
  return false
}
function checkAttributes (priority, element, ignore, path, parent = element.parentNode) {
  const pattern = findAttributesPattern(priority, element, ignore)
  if (pattern) {
    const matches = parent.querySelectorAll(pattern)
    if (matches.length === 1) {
      path.unshift(pattern)
      return true
    }
  }
  return false
}
function checkAttributes ( priority , element , ignore , path , parent = element . parentNode ) { const pattern = findAttributesPattern ( priority , element , ignore ) if ( pattern ) { const matches = parent . querySelectorAll ( pattern ) if ( matches . length === 1 ) { path . unshift ( pattern ) return true } } return false }
Extend path with attribute identifier

@param  {Array.<string>} priority - [description]
@param  {HTMLElement}    element  - [description]
@param  {Object}         ignore   - [description]
@param  {Array.<string>} path     - [description]
@param  {HTMLElement}    parent   - [description]
@return {boolean}                 - [description]
Extend path with attribute identifier