Updating demo to work with named args in the constructor
This commit is contained in:
parent
2bc3f927bd
commit
15dbcf89d5
|
@ -30,7 +30,7 @@ graph.newEdge(dennis, bianca, {color: '#CC333F'});
|
||||||
graph.newEdge(bianca, monty, {color: '#EB6841'});
|
graph.newEdge(bianca, monty, {color: '#EB6841'});
|
||||||
|
|
||||||
jQuery(document).ready(function(){
|
jQuery(document).ready(function(){
|
||||||
jQuery('#springydemo').springy(graph);
|
jQuery('#springydemo').springy({ 'graph': graph });
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user