editor: refactoring in the data module
[fnpeditor.git] / src / wlxml / wlxml.js
index 21623c5..5925ee6 100644 (file)
@@ -145,26 +145,12 @@ $.extend(WLXMLElementNode.prototype, WLXMLDocumentNodeMethods, smartxml.ElementN
                     $(this).prepend(metaNode);
                 }
             }
                     $(this).prepend(metaNode);
                 }
             }
-
         });
 
         });
 
-        
-
         return DOM;
     }
 });
 
         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);
 
 var WLXMLDocumentNode = function() {
     smartxml.DocumentNode.apply(this, arguments);
@@ -316,7 +302,6 @@ $.extend(WLXMLDocument.prototype, {
     },
 
     registerExtension: function(extension) {
     },
 
     registerExtension: function(extension) {
-        //debugger;
         smartxml.Document.prototype.registerExtension.call(this, extension);
         var doc = this;
 
         smartxml.Document.prototype.registerExtension.call(this, extension);
         var doc = this;