Updating demo to work with named args in the constructor

This commit is contained in:
Toby Cole 2011-02-22 09:30:40 +00:00
parent 2bc3f927bd
commit 15dbcf89d5

View File

@ -30,7 +30,7 @@ graph.newEdge(dennis, bianca, {color: '#CC333F'});
graph.newEdge(bianca, monty, {color: '#EB6841'});
jQuery(document).ready(function(){
jQuery('#springydemo').springy(graph);
jQuery('#springydemo').springy({ 'graph': graph });
});
</script>