+ wrapWith: function(node) {
+ if(this.parent())
+ this.before(node);
+ node.append(this);
+ },
+});
+
+var ElementNode = function(nativeNode) {
+ DocumentNode.apply(this, arguments);
+};
+
+$.extend(ElementNode.prototype, DocumentNode.prototype, {
+ nodeType: Node.ELEMENT_NODE,
+
+ getTagName: function() {
+ return this.nativeNode.tagName.toLowerCase();
+ },
+