Skip to content

[Bug]: Turtle.js.pathData is not a function #339

@ninmonkey

Description

@ninmonkey

ToHTML does not run

turtle.html:159 Uncaught TypeError: turtle.pathData is not a function
    at draw (turtle.html:159:28)
    at turtle.html:167:1
draw @ turtle.html:159
(anonymous) @ turtle.html:167

Description

To Reproduce

$turt = turtle square 42 stroke blue fill salmon opacity 1.0
$turt.PSTypeNames.Insert(0, 'Turtle.Js')
$turt.ToHTML() | Set-Content -Path  'turtle.html'
Get-Item 'turtle.html' | Get-Item | Invoke-Item

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions