From 88f8eb498d9fbc99d768bbbabdebaa593746bb47 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Aleksander=20=C5=81ukasz?=
 <aleksander.lukasz@nowoczesnapolska.org.pl>
Date: Fri, 27 Sep 2013 10:00:59 +0200
Subject: [PATCH] refactor

---
 src/smartxml/smartxml.js | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/smartxml/smartxml.js b/src/smartxml/smartxml.js
index 2d0e09f..b7fc3f1 100644
--- a/src/smartxml/smartxml.js
+++ b/src/smartxml/smartxml.js
@@ -43,14 +43,6 @@ $.extend(ElementNode.prototype, DocumentNode.prototype, {
         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() {
@@ -70,6 +62,14 @@ $.extend(ElementNode.prototype, DocumentNode.prototype, {
         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)
-- 
2.20.1