Clipper/joplin-webclipper/content_scripts/Readability.js
function(nodeList, newTagName) {
    for (var i = nodeList.length - 1; i >= 0; i--) {
      var node = nodeList[i];
      this._setNodeTag(node, newTagName);
    }
  }
function(nodeList, newTagName) {
    for (var i = nodeList.length - 1; i >= 0; i--) {
      var node = nodeList[i];
      this._setNodeTag(node, newTagName);
    }
  }
function ( nodeList , newTagName ) { for ( var i = nodeList . length - 1 ; i >= 0 ; i -- ) { var node = nodeList [ i ] ; this . _setNodeTag ( node , newTagName ) ; } }
Iterates over a NodeList, and calls _setNodeTag for each node.

@param NodeList nodeList The nodes to operate on
@param String newTagName the new tag name to use
@return void
Iterates over a NodeList and calls _setNodeTag for each node .