Tools Examples: no need to set the document anymore.

This commit is contained in:
Jonathan Puckey 2011-02-15 00:07:02 +01:00
parent 24e93bcaf5
commit 4e0bf98035
8 changed files with 0 additions and 11 deletions

View file

@ -37,7 +37,6 @@
path = null; path = null;
} }
}); });
tool.document = doc;
} }
</script> </script>
</head> </head>

View file

@ -37,7 +37,6 @@
path.arcTo(event.point, true); path.arcTo(event.point, true);
} }
}); });
tool.document = doc;
tool.minDistance = 30; tool.minDistance = 30;
} }
</script> </script>

View file

@ -84,8 +84,6 @@
} }
} }
}); });
tool.document = doc;
tool.maxDistance = 20; tool.maxDistance = 20;
} }
</script> </script>

View file

@ -91,10 +91,7 @@
path.insert(0, strokePoint); path.insert(0, strokePoint);
} }
} }
tool.document = doc;
tool.fixedDistance = 80; tool.fixedDistance = 80;
// tool.minDistance = values.minDistance;
} }
</script> </script>
</head> </head>

View file

@ -48,7 +48,6 @@
} }
} }
}); });
tool.document = doc;
} }
</script> </script>
</head> </head>

View file

@ -53,7 +53,6 @@
} }
} }
}); });
tool.document = doc;
tool.fixedDistance = 30; tool.fixedDistance = 30;
} }
</script> </script>

View file

@ -49,7 +49,6 @@
mul *= -1; mul *= -1;
} }
}); });
tool.document = doc;
tool.fixedDistance = 10; tool.fixedDistance = 10;
} }
</script> </script>

View file

@ -87,7 +87,6 @@
worm.smooth(); worm.smooth();
} }
}); });
tool.document = doc;
tool.fixedDistance = 3; tool.fixedDistance = 3;
tool.minDistance = values.minDistance; tool.minDistance = values.minDistance;
} }