fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactoring
[fnpeditor.git]
/
modules
/
documentCanvas
/
canvas
/
canvas.js
diff --git
a/modules/documentCanvas/canvas/canvas.js
b/modules/documentCanvas/canvas/canvas.js
index
e6b8135
..
9506049
100644
(file)
--- a/
modules/documentCanvas/canvas/canvas.js
+++ b/
modules/documentCanvas/canvas/canvas.js
@@
-72,7
+72,7
@@
$.extend(Canvas.prototype, {
doc: function() {
if(this.d === null)
return null;
doc: function() {
if(this.d === null)
return null;
- return documentElement.
wrap
(this.d.get(0), this); //{wlxmlTag: this.d.prop('tagName')};
+ return documentElement.
DocumentNodeElement.fromHTMLElement
(this.d.get(0), this); //{wlxmlTag: this.d.prop('tagName')};
},
wrapText: function(params) {
},
wrapText: function(params) {
@@
-117,7
+117,7
@@
$.extend(Canvas.prototype, {
},
getDocumentElement: function(from) {
if(from instanceof HTMLElement || from instanceof Text) {
},
getDocumentElement: function(from) {
if(from instanceof HTMLElement || from instanceof Text) {
- return documentElement.
wrap
(from, this);
+ return documentElement.
DocumentElement.fromHTMLElement
(from, this);
}
},
getCursor: function() {
}
},
getCursor: function() {