wlxml: cleanup
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 15 Jul 2014 14:05:43 +0000 (16:05 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 15 Jul 2014 14:17:47 +0000 (16:17 +0200)
src/wlxml/wlxml.js

index 21623c5..5925ee6 100644 (file)
@@ -145,26 +145,12 @@ $.extend(WLXMLElementNode.prototype, WLXMLDocumentNodeMethods, smartxml.ElementN
                     $(this).prepend(metaNode);
                 }
             }
-
         });
 
-        
-
         return DOM;
     }
 });
 
-// WLXMLElementNode.prototype.transformations.register(transformations.createContextTransformation({
-//     name: 'wlxml.setMetaAttribute',
-//     impl: function(args) {
-//         this.setMetaAttribute(args.name, args.value);
-//     },
-//     getChangeRoot: function() {
-//         return this.context;
-//     }
-// }));
-
-
 
 var WLXMLDocumentNode = function() {
     smartxml.DocumentNode.apply(this, arguments);
@@ -316,7 +302,6 @@ $.extend(WLXMLDocument.prototype, {
     },
 
     registerExtension: function(extension) {
-        //debugger;
         smartxml.Document.prototype.registerExtension.call(this, extension);
         var doc = this;