FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

use debug ^4.3.4 fixes #4612 by arpu · Pull Request #5508 · aframevr/aframe · GitHub

use debug ^4.3.4 fixes #4612 - #5508

Merged
dmarcos merged 6 commits into
aframevr:masterfrom
capticxyz:arpu-patch-3
Apr 9, 2024
Merged

use debug ^4.3.4 fixes #4612#5508
dmarcos merged 6 commits into
aframevr:masterfrom
capticxyz:arpu-patch-3

Conversation

arpu commented Apr 5, 2024

Copy link
Copy Markdown
Contributor

using upstream debug ^4.3.4

tested with http://localhost:8080/showcase/spatial-ui/

core:component:warn Unknown property `radius` for component `geometry`. +0ms
core:component:warn Unknown property `color` for component `material`. +0ms

old debug:

core:component:warn Unknown property `radius` for component `geometry`. 
core:component:warn Unknown property `color` for component `material`. 

dmarcos commented Apr 5, 2024

Copy link
Copy Markdown
Member

Yeah debug for was to remove the timestamps. Can we get rid of them? Thanks

arpu commented Apr 5, 2024

Copy link
Copy Markdown
Contributor Author

Yes, overwrite the debug.formatArgs, and add the colors and remove the Time works, Idea from debug-js/debug#582 (comment)

Original Code uses const/let https://github.com/debug-js/debug/blob/f66cb2d9f729e1a592e72d3698e3b75329d75a25/src/browser.js#L146

@dmarcos should this be changed to vars?

Comment thread src/utils/debug.js Outdated

dmarcos commented Apr 6, 2024

Copy link
Copy Markdown
Member

Yes we don't use let / var. Code style has to be consistent with rest of code base.

arpu requested a review from dmarcos April 8, 2024 12:13

dmarcos commented Apr 9, 2024

Copy link
Copy Markdown
Member

Thanks so much!

dmarcos merged commit e65ea4e into aframevr:master Apr 9, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL