@@ -8429,10 +8429,6 @@ foreach ($javaScriptProperty in $this.psobject.properties | Sort-Object Name) {
84298429 )
84308430}</Value >
84318431 </NoteProperty >
8432- <NoteProperty >
8433- <Name >get_heading.js</Name >
8434- <Value >heading: 0.0</Value >
8435- </NoteProperty >
84368432 <NoteProperty >
84378433 <Name >go.js</Name >
84388434 <Value >function go() {
@@ -8447,6 +8443,17 @@ foreach ($javaScriptProperty in $this.psobject.properties | Sort-Object Name) {
84478443 <Name >goto.js</Name >
84488444 <Value >function goto(x,y) { return this.step(x - this.x, y - this.y) }</Value >
84498445 </NoteProperty >
8446+ <NoteProperty >
8447+ <Name >heading.js</Name >
8448+ <Value >function get_heading() {
8449+ const _ = this
8450+ if ( _['#heading'] === undefined ) {
8451+ _['#heading'] = 0.0
8452+ }
8453+ return _['#heading']
8454+ }
8455+ </Value >
8456+ </NoteProperty >
84508457 <NoteProperty >
84518458 <Name >height.js</Name >
84528459 <Value >height: 0.0</Value >
@@ -8520,7 +8527,7 @@ foreach ($javaScriptProperty in $this.psobject.properties | Sort-Object Name) {
85208527 </NoteProperty >
85218528 <NoteProperty >
85228529 <Name >pathData.js</Name >
8523- <Value >function get_pathData () {
8530+ <Value >function pathData () {
85248531 let startX = 0;
85258532 let startY = 0;
85268533 if (!this.min) { this.min = { x: 0.0, y: 0.0}}
@@ -8579,14 +8586,12 @@ foreach ($javaScriptProperty in $this.psobject.properties | Sort-Object Name) {
85798586 <NoteProperty >
85808587 <Name >set_heading.js</Name >
85818588 <Value >function set_heading(value) {
8582- let _ = this
8589+ const _ = this
85838590 try {
85848591 _['#heading'] = new Number(value)
85858592 } catch {
8586-
85878593 _['#heading'] = 0.0
85888594 }
8589-
85908595 return _
85918596}</Value >
85928597 </NoteProperty >
@@ -8610,7 +8615,7 @@ foreach ($javaScriptProperty in $this.psobject.properties | Sort-Object Name) {
86108615 <Value >function teleport(x,y) {
86118616 var penState = this.penDown
86128617 this.penDown = false
8613- step(x - this.x, y - this.y)
8618+ this. step(x - this.x, y - this.y)
86148619 this.penDown = penState
86158620 return this
86168621}</Value >
0 commit comments