function makePredByNodeName(nodeName) {
  nodeName = nodeName.toUpperCase();
  return function(node) {
    return node && node.nodeName.toUpperCase() === nodeName;
  };
}
@method makePredByNodeName

returns predicate which judge whether nodeName is same

@param {String} nodeName
@return {Function}