X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/275952d30bfcd6f5aecc2710a0df0cd489ea71f6..72da90cac0feafb35cac9292105e24f2b5094b45:/src/wlxml/wlxml.js?ds=inline diff --git a/src/wlxml/wlxml.js b/src/wlxml/wlxml.js index fb5b328..63d2307 100644 --- a/src/wlxml/wlxml.js +++ b/src/wlxml/wlxml.js @@ -49,6 +49,9 @@ $.extend(WLXMLElementNode.prototype, smartxml.ElementNode.prototype, { }.bind(this)); return toret; }, + setMetaAttribute: function(key, value) { + this.setAttr('meta-'+key, value); + }, getOtherAttributes: function() { var toret = {}; this.getAttrs().forEach(function(attr) {