From 40d5afdffab8c407a754f4d901a7aa399389e04f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oscar=20Garc=C3=ADa=20Ch=C3=A1vez?= Date: Mon, 18 Feb 2019 12:12:26 -0300 Subject: [PATCH] fix path clear method --- tutorials/letsplay/letsplay-04.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorials/letsplay/letsplay-04.md b/tutorials/letsplay/letsplay-04.md index 92d374b..7a8b7c0 100644 --- a/tutorials/letsplay/letsplay-04.md +++ b/tutorials/letsplay/letsplay-04.md @@ -83,7 +83,7 @@ We are going to modify the same file. // wipe off the "onClearPaths": function(sender, events){ var pathLayer = this.topology().getLayer("path"); - pathLayer.clearPathLayer(); + pathLayer.clear(); } // ... @@ -99,4 +99,4 @@ You can find a code example in **/demos/tutorial-007-04/** ## What's next? The next tutorial covers class extension. -[Read NEXT](./letsplay-05.md) \ No newline at end of file +[Read NEXT](./letsplay-05.md)