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

fix: brackets causing issues in debug.log + enhance logging of single object #475

Merged
merged 2 commits into from
Oct 23, 2024

Conversation

dragoncoder047
Copy link
Contributor

the new parser I added in #472 is so strict that if you do debug.log("[boom]") it crashes the game.

this fixes that, and also causes it to display a dump of the object when you log an object by itself instead of just doing [object Object].

Copy link

pkg-pr-new bot commented Oct 23, 2024

Open in Stackblitz

pnpm add https://pkg.pr.new/kaplayjs/kaplay@475

commit: fbd6232

@amyspark-ng
Copy link
Contributor

oh that's awesome....

@lajbel lajbel merged commit 4433162 into kaplayjs:master Oct 23, 2024
2 checks passed
@dragoncoder047 dragoncoder047 deleted the fixdebuglog branch October 23, 2024 16:07
@dragoncoder047 dragoncoder047 restored the fixdebuglog branch November 15, 2024 14:46
@dragoncoder047 dragoncoder047 deleted the fixdebuglog branch November 15, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: DONE
Development

Successfully merging this pull request may close these issues.

3 participants