fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix in transformations
[fnpeditor.git]
/
modules
/
documentCanvas
/
canvasNode.js
diff --git
a/modules/documentCanvas/canvasNode.js
b/modules/documentCanvas/canvasNode.js
index
2b108a1
..
bb1cee7
100644
(file)
--- a/
modules/documentCanvas/canvasNode.js
+++ b/
modules/documentCanvas/canvasNode.js
@@
-73,6
+73,10
@@
CanvasNode.prototype.parents = function() {
};
\r
\r
\r
+CanvasNode.prototype.isOfClass = function(klass) {
\r
+ return this.getClass() && this.getClass().substr(0, klass.length) === klass;
\r
+}
\r
+
\r
return {
\r
create: function(desc) {
\r
return new CanvasNode(desc);
\r