Hareeshchandera / jsplumb

Automatically exported from code.google.com/p/jsplumb
0 stars 0 forks source link

creating connection: TypeError: _endpoint.clone is not a function #320

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I have a problem with detach that's not working. So I'm trying to create a 
JsFidle for that. But creating the testcase fails, because I can't create a 
connection in 1.3.16 (while 3.1.15 is working). 

The only difference is 1.3.15 and 1.3.16. I

1.3.15: shows connection
http://jsfiddle.net/TfKBd/

1.3.16: error (TypeError: _endpoint.clone is not a function)
http://jsfiddle.net/5PxwB/

Tested under:
Win7 x64, IE9 + Firefox 18 (both an error)

'm not sure if this is a bug, or a changed interface.

Original issue reported on code.google.com by j.verdur...@2bmore.nl on 15 Feb 2013 at 9:59

GoogleCodeExporter commented 8 years ago
these two fiddles actually reference 1.3.5 and 1.3.6, not 1.3.15 and 1.3.16.

the syntax of the second argument to makeTarget and makeSource changed a few 
versions ago.  i cant remember when...it looks like possibly 1.3.6.

try this

http://jsfiddle.net/5PxwB/2/

Original comment by simon.po...@gmail.com on 15 Feb 2013 at 10:22

GoogleCodeExporter commented 8 years ago
ok thx. Sorry for the wrong testcases. I agree this is an invalid case :)

Original comment by j.verdur...@2bmore.nl on 15 Feb 2013 at 10:25