Skip to content

Commit 7728acc

Browse files
Merge pull request #335 from ninmonkey/fix-step-js-reference
fix: `Turtle.js.teleport` ( re: #334 )
2 parents ddde1ca + df56765 commit 7728acc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Turtle.types.ps1xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8875,7 +8875,7 @@ foreach ($javaScriptProperty in $this.psobject.properties | Sort-Object Name) {
88758875
<Value>function teleport(x,y) {
88768876
var penState = this.penDown
88778877
this.penDown = false
8878-
step(x - this.x, y - this.y)
8878+
this.step(x - this.x, y - this.y)
88798879
this.penDown = penState
88808880
return this
88818881
}</Value>

Types/Turtle.js/teleport.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
function teleport(x,y) {
22
var penState = this.penDown
33
this.penDown = false
4-
step(x - this.x, y - this.y)
4+
this.step(x - this.x, y - this.y)
55
this.penDown = penState
66
return this
77
}

0 commit comments

Comments
 (0)