cleanup
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Wed, 24 Apr 2013 15:21:13 +0000 (17:21 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Wed, 24 Apr 2013 15:21:13 +0000 (17:21 +0200)
modules/visualEditor.js

index 7f7bc2e..8c5296e 100644 (file)
@@ -71,9 +71,6 @@ rng.modules.visualEditor = function(sandbox) {
             \r
             var observer = new MutationObserver(function(mutations) {\r
               mutations.forEach(function(mutation) {\r
             \r
             var observer = new MutationObserver(function(mutations) {\r
               mutations.forEach(function(mutation) {\r
-                if(mutation.addedNodes.length > 0) {\r
-                    console.log(mutation.addedNodes);\r
-                }\r
                 _.each(mutation.addedNodes, function(node) {\r
                     node = $(node);\r
                     node.parent().find('[wlxml-tag]').each(function() {\r
                 _.each(mutation.addedNodes, function(node) {\r
                     node = $(node);\r
                     node.parent().find('[wlxml-tag]').each(function() {\r