From 9f448a97ef94538fca6e5dc71884e3ff23b84ca4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Fri, 15 Jan 2016 17:25:15 +0100 Subject: [PATCH] Use the correct notation in the new smooth() calls. --- examples/Animated/AnimatedStar.html | 2 +- examples/Animated/Smoothing.html | 2 +- examples/Paperjs.org/Chain.html | 2 +- examples/Paperjs.org/FutureSplash.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/Animated/AnimatedStar.html b/examples/Animated/AnimatedStar.html index 931178f4..6046c3c1 100644 --- a/examples/Animated/AnimatedStar.html +++ b/examples/Animated/AnimatedStar.html @@ -26,7 +26,7 @@ var vector = offset.normalize(l * (j % 2 ? 0.1 : -0.1)); path.add(offset + vector); } - path.smooth({ continuous: true }); + path.smooth( { type: 'continuous' }); layer.insertChild(0, new Group({ children: [path], applyMatrix: false diff --git a/examples/Animated/Smoothing.html b/examples/Animated/Smoothing.html index ba2fe018..9e0dc7b0 100644 --- a/examples/Animated/Smoothing.html +++ b/examples/Animated/Smoothing.html @@ -39,7 +39,7 @@ path.segments[i].point.y = yPos; } if (smooth) - path.smooth({ continuous: true }); + path.smooth( { type: 'continuous' }); } function onMouseMove(event) { diff --git a/examples/Paperjs.org/Chain.html b/examples/Paperjs.org/Chain.html index f6b527d9..3979388e 100644 --- a/examples/Paperjs.org/Chain.html +++ b/examples/Paperjs.org/Chain.html @@ -34,7 +34,7 @@ vector.length = length; nextSegment.point = segment.point - vector; } - path.smooth({ continuous: true }); + path.smooth( { type: 'continuous' }); } function onMouseDown(event) { diff --git a/examples/Paperjs.org/FutureSplash.html b/examples/Paperjs.org/FutureSplash.html index e053f844..2834fd02 100644 --- a/examples/Paperjs.org/FutureSplash.html +++ b/examples/Paperjs.org/FutureSplash.html @@ -105,7 +105,7 @@ for (var j = 0, l = springs.length; j < l; j++) { springs[j].update(); } - path.smooth({ continuous: true }); + path.smooth( { type: 'continuous' }); } function onKeyDown(event) {