From 65bc0821986afa202fcb6b7e8e77661f951b808d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Fri, 22 Nov 2013 15:39:57 +0100 Subject: [PATCH 1/1] wlxml: WLXMLElementNode.setMetaAttribute --- src/wlxml/wlxml.js | 3 +++ 1 file changed, 3 insertions(+) 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) { -- 2.20.1