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)