From 314619e0a39dac528ba7e13e7d58aa5d6024fd1e Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Fri, 6 May 2011 17:38:01 +0100 Subject: [PATCH] Simplify Worm Farm example. --- examples/Tools/Worm Farm.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Tools/Worm Farm.html b/examples/Tools/Worm Farm.html index e96583d3..2413dc9e 100644 --- a/examples/Tools/Worm Farm.html +++ b/examples/Tools/Worm Farm.html @@ -73,7 +73,7 @@ worm.insert(1, bottom); // make a new line path from top to bottom - var line = new Path.Line(top, bottom); + new Path(top, bottom); // This is the point at the front of the worm: worm.firstSegment.point = event.point;