Monotone-Parent: 458ff8722fb3ab8b060576a603826f911944009c

Monotone-Revision: af439d4cfaf788246fb1714d4ac8450f4ff0898a

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-11-09T22:23:55
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-11-09 22:23:55 +00:00
parent 633f30918a
commit d3abb5e767

View File

@@ -1,4 +1,10 @@
/* custom extensions to the DOM api */
HTMLElement.prototype.addInterface = function(objectInterface) {
Object.extend(this, objectInterface);
if (this.bind)
this.bind();
}
HTMLElement.prototype.childNodesWithTag = function(tagName) {
var matchingNodes = new Array();
var tagName = tagName.toUpperCase();