rem: var nodes = Nevow.Athena.NodesByAttribute(root, attrName, attrValue); if (nodes.length > 1) { throw new Error("Found too many " + attrName + " = " + attrValue); } else if (nodes.length < 1) { if (defaultNode === undefined) { throw new Error("Failed to discover node with class value " + attrValue + " beneath " + root + " (programmer error)."); } else { return defaultNode; }  } else { var result = nodes[0]; return result; } 
add: return Divmod.Runtime.theRuntime.nodeByAttribute(root, attrName, attrValue, defaultNode); 
context: Nevow.Athena.NodeByAttribute = function(root, attrName, attrValue, /* optional */ defaultNode) {    var nodes = Nevow.Athena.NodesByAttribute(root, attrName, attrValue);    if (nodes.length > 1) {        throw new Error("Found too many " + attrName + " = " + attrValue);    } else if (nodes.length < 1) {        if (defaultNode === undefined) {            throw new Error("Failed to discover node with class value " +                            attrValue + " beneath " + root +                            " (programmer error).");        } else {            return defaultNode;        }    } else {        var result = nodes[0];        return result;    }};
meta: 1565	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1565/e0cf08b87e7f97d2577198e6cb229d5cb9140f83/athena.js/buggy/nevow/athena.js