Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

toLeopard: Sprites and the stage shouldn't share the same reserved name list #135

Closed
towerofnix opened this issue May 23, 2024 · 0 comments · Fixed by #137
Closed

toLeopard: Sprites and the stage shouldn't share the same reserved name list #135

towerofnix opened this issue May 23, 2024 · 0 comments · Fixed by #137
Assignees
Labels
fmt: Leopard Pertains to Leopard format (JavaScript)

Comments

@towerofnix
Copy link
Member

There's plenty overlap between them, but also certain properties that are only specially meaningful on one of the two!

Sharing the same list doesn't cause any behavior harm, but it's overly cautious and can result in not-nice code. This will be a particularly big deal when variables are stored on this rather than this.vars (leopard-js/leopard#196).

@towerofnix towerofnix added the fmt: Leopard Pertains to Leopard format (JavaScript) label May 23, 2024
@towerofnix towerofnix self-assigned this May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fmt: Leopard Pertains to Leopard format (JavaScript)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant