X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/275952d30bfcd6f5aecc2710a0df0cd489ea71f6..ac797224a67319e07d3f6e8f52e9b39a3949640a:/src/wlxml/wlxml.js 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) {