code: function makePredByNodeName(nodeName) {
    nodeName = nodeName.toUpperCase();
    return function(node) {
      return node && node.nodeName.toUpperCase() === nodeName;
    };
  }
docs: @method makePredByNodeName
  
  returns predicate which judge whether nodeName is same
  
  @param {String} nodeName
  @return {Function}