From: Aleksander Ɓukasz Date: Tue, 15 Jul 2014 14:05:43 +0000 (+0200) Subject: wlxml: cleanup X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/1a51f254c2c899b068ecfca66fd472ae79fadda3?hp=25dbd250996753d1fbd63201fe75a87949c106d6 wlxml: cleanup --- diff --git a/src/wlxml/wlxml.js b/src/wlxml/wlxml.js index 21623c5..5925ee6 100644 --- a/src/wlxml/wlxml.js +++ b/src/wlxml/wlxml.js @@ -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;