- var attrs = this.dom.get(0).attributes;
- for(var i = 0; i < attrs.length; i++) {
- var attr = attrs[i];
- if(attr.name.substr(0, metaAttrPrefix.length) === metaAttrPrefix) {
- toret.push({name: attr.name.substr(metaAttrPrefix.length), value: attr.value});
- }
- }
+ var attrList = classAttributes.getMetaAttrsList(this.getClass());
+ var c = this;
+ attrList.all.forEach(function(attr) {
+ toret.push({name: attr.name, value: c.getMetaAttr(attr.name) || ''});
+ });
+
+