Simplify snippet of _insertionTranslations.tags extension.

This commit is contained in:
Juriy Zaytsev 2009-05-19 16:27:09 -04:00 committed by Andrew Dupont
parent b2492aeec4
commit 78f6fad570

View File

@ -1609,12 +1609,13 @@ Element._insertionTranslations = {
};
(function() {
Object.extend(this.tags, {
THEAD: this.tags.TBODY,
TFOOT: this.tags.TBODY,
TH: this.tags.TD
var tags = Element._insertionTranslations.tags;
Object.extend(tags, {
THEAD: tags.TBODY,
TFOOT: tags.TBODY,
TH: tags.TD
});
}).call(Element._insertionTranslations);
})();
Element.Methods.Simulated = {
hasAttribute: function(element, attribute) {