return this.nativeNode.tagName.toLowerCase();
},
- append: function(documentNode) {
- this._$.append(documentNode.nativeNode);
- },
-
- before: function(node) {
- this._$.before(node.nativeNode);
- },
-
contents: function() {
var toret = [];
this._$.contents().each(function() {
return new ElementNode(this._$.parent());
},
+ append: function(documentNode) {
+ this._$.append(documentNode.nativeNode);
+ },
+
+ before: function(node) {
+ this._$.before(node.nativeNode);
+ },
+
unwrapContent: function() {
var parent = this.parent();
if(!parent)