projects
/
xynt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
first simple inheritance function
[xynt.git]
/
xynt-dd.js
diff --git
a/xynt-dd.js
b/xynt-dd.js
index
b07fbe1
..
253c274
100644
(file)
--- a/
xynt-dd.js
+++ b/
xynt-dd.js
@@
-38,6
+38,11
@@
var Drag = {
{
\r
o.onmousedown = Drag.start;
\r
o.mouseup_cb = mouseup_cb;
\r
{
\r
o.onmousedown = Drag.start;
\r
o.mouseup_cb = mouseup_cb;
\r
+ o.connect = function(conn)
\r
+ {
\r
+ this.parentNode.connected[this.parentNode.connected.length] = conn;
\r
+ }
\r
+
\r
o.connected = new Array();
\r
/* alert("agnulla"+o.style.left); */
\r
\r
o.connected = new Array();
\r
/* alert("agnulla"+o.style.left); */
\r
\r