fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactoring: handle wlxmlDocument events in a separate module
[fnpeditor.git]
/
src
/
wlxml
/
wlxml.js
diff --git
a/src/wlxml/wlxml.js
b/src/wlxml/wlxml.js
index
fb5b328
..
63d2307
100644
(file)
--- a/
src/wlxml/wlxml.js
+++ b/
src/wlxml/wlxml.js
@@
-49,6
+49,9
@@
$.extend(WLXMLElementNode.prototype, smartxml.ElementNode.prototype, {
}.bind(this));
return toret;
},
}.bind(this));
return toret;
},
+ setMetaAttribute: function(key, value) {
+ this.setAttr('meta-'+key, value);
+ },
getOtherAttributes: function() {
var toret = {};
this.getAttrs().forEach(function(attr) {
getOtherAttributes: function() {
var toret = {};
this.getAttrs().forEach(function(attr) {