diff --git a/examples/Paperjs.org/InteractiveTiger.html b/examples/Paperjs.org/InteractiveTiger.html index 170ccd90..f50ebeb5 100644 --- a/examples/Paperjs.org/InteractiveTiger.html +++ b/examples/Paperjs.org/InteractiveTiger.html @@ -11,7 +11,7 @@ svg.visible = true; // Turn off display: none; // Resize the tiger to fit within the window: - project.activeLayer.fitBounds(view.bounds); + svg.fitBounds(view.bounds); var items = project.activeLayer.firstChild.children; var mouseIsDown = false; diff --git a/examples/Paperjs.org/PathIntersections.html b/examples/Paperjs.org/PathIntersections.html index 5d4dce6f..d322cc9f 100644 --- a/examples/Paperjs.org/PathIntersections.html +++ b/examples/Paperjs.org/PathIntersections.html @@ -6,22 +6,19 @@