fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wlxml: moving white space handling from canvas code base
[fnpeditor.git]
/
src
/
smartxml
/
smartxml.js
diff --git
a/src/smartxml/smartxml.js
b/src/smartxml/smartxml.js
index
248333e
..
477166b
100644
(file)
--- a/
src/smartxml/smartxml.js
+++ b/
src/smartxml/smartxml.js
@@
-174,6
+174,9
@@
var Document = function(xml) {
Object.defineProperty(this, 'root', {get: function() {
return doc.createElementNode($document[0]);
}});
Object.defineProperty(this, 'root', {get: function() {
return doc.createElementNode($document[0]);
}});
+ Object.defineProperty(this, 'dom', {get: function() {
+ return $document[0];
+ }});
};
$.extend(Document.prototype, {
ElementNodeFactory: ElementNode,
};
$.extend(Document.prototype, {
ElementNodeFactory: ElementNode,