fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
history wip: little animation on adding new item
[fnpeditor.git]
/
modules
/
documentCanvas
/
wlxmlNode.js
diff --git
a/modules/documentCanvas/wlxmlNode.js
b/modules/documentCanvas/wlxmlNode.js
index
f5ada52
..
6bd0c35
100644
(file)
--- a/
modules/documentCanvas/wlxmlNode.js
+++ b/
modules/documentCanvas/wlxmlNode.js
@@
-29,6
+29,9
@@
var Node = function(domNode) {
list.push(new Node($(this)));
\r
});
\r
return $(list);
\r
+ },
\r
+ is: function(wlxmlNode) {
\r
+ return wlxmlNode && (wlxmlNode.id === this.id);
\r
}
\r
}
\r
\r