rem: var count = 0;  rootElement = rootElement || content.document;  /* If recurseFrames is undefined or true, look through all child frames for microformats */ if (recurseFrames || recurseFrames === undefined) { if (rootElement.defaultView && rootElement.defaultView.frames.length > 0) { for (let i=0; i < rootElement.defaultView.frames.length; i++) { count += Microformats.count(name, rootElement.defaultView.frames[i].document, recurseFrames); } } }  /* Get the microformat nodes for the document */ var microformatNodes = []; if (Microformats[name].className) { microformatNodes = Microformats.getElementsByClassName(rootElement, Microformats[name].className); /* alternateClassName is for cases where a parent microformat is inferred by the children */ /* If we find alternateClassName, the entire document becomes the microformat */ if ((microformatNodes.length == 0) && Microformats[name].alternateClassName) { var altClass = Microformats.getElementsByClassName(rootElement, Microformats[name].alternateClassName); if (altClass.length > 0) { microformatNodes.push(rootElement); } } } else if (Microformats[name].attributeValues) { microformatNodes = Microformats.getElementsByAttribute(rootElement, Microformats[name].attributeName, Microformats[name].attributeValues); } count += microformatNodes.length; return count; 
add: return 0; 
context:   count: function(name, rootElement, recurseFrames) {    if (!Microformats[name]) {      return;    }    var count = 0;    rootElement = rootElement || content.document;    /* If recurseFrames is undefined or true, look through all child frames for microformats */    if (recurseFrames || recurseFrames === undefined) {      if (rootElement.defaultView && rootElement.defaultView.frames.length > 0) {        for (let i=0; i < rootElement.defaultView.frames.length; i++) {          count += Microformats.count(name, rootElement.defaultView.frames[i].document, recurseFrames);        }      }    }    /* Get the microformat nodes for the document */    var microformatNodes = [];    if (Microformats[name].className) {      microformatNodes = Microformats.getElementsByClassName(rootElement,                                        Microformats[name].className);      /* alternateClassName is for cases where a parent microformat is inferred by the children */      /* If we find alternateClassName, the entire document becomes the microformat */      if ((microformatNodes.length == 0) && Microformats[name].alternateClassName) {        var altClass = Microformats.getElementsByClassName(rootElement, Microformats[name].alternateClassName);        if (altClass.length > 0) {          microformatNodes.push(rootElement);         }      }    } else if (Microformats[name].attributeValues) {      microformatNodes =         Microformats.getElementsByAttribute(rootElement,                                            Microformats[name].attributeName,                                            Microformats[name].attributeValues);    }    count += microformatNodes.length;    return count;  },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/380250f325afc8530dc2b33eb253ad24287a59fc/Microformats.js/clean/toolkit/components/microformats/src/Microformats.js