Hareeshchandera / jsplumb

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

basic error checking #339

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
the javascript code doesn't do user-stupidity checking. for example i had used 
addEndpoint() with an invalid id by mistake. it took me a while to figure this 
out. the library could check this early, and give me a meaningful error message.

suggestion: add some error checking for the api methods. especially for 
addEndpoint() and connect().

Original issue reported on code.google.com by fabian.k...@optimaize.com on 17 Apr 2013 at 4:45

GoogleCodeExporter commented 8 years ago

Original comment by simon.po...@gmail.com on 17 Apr 2013 at 8:27

GoogleCodeExporter commented 8 years ago
this would be useful.

aside from the builder stuff you mentioned in another ticket, what are the 
sorts of user stupidity things you'd suggest?  element not found, sure.  any 
others?  i guess invalid anchor types, endpoint types, connector types etc.

Original comment by simon.po...@gmail.com on 17 Apr 2013 at 11:07

GoogleCodeExporter commented 8 years ago
moved to github

https://github.com/sporritt/jsPlumb/issues/29

Original comment by simon.po...@gmail.com on 30 Apr 2013 at 11:40

GoogleCodeExporter commented 8 years ago
Issues have all moved to Github.  Google code is no longer in use for jsPlumb.

Original comment by simon.po...@gmail.com on 10 May 2013 at 11:37