Anna

Results 441 comments of Anna

Dang. Well of navigator doesn't exist , I guess there is another way to tell if the page is Japanese.

I still need to write a test for this. But I'm a little stumped on how to write one that will work with what we're doing here; and is globalization...

I've hit a road block. The test I wrote doesn't work in the slightest. The font elements are just missing.

I was afraid of something weird like that happening. I removed the fragment and that seemed to have gotten things working again.

My thoughts was that the else block was designed to continue playing the song at the place you stopped it. The current song has been chosen and it's same id...

Nah. It only resumes and plays back for the current song. Once you switch songs, it forgets where you left off on the old one.

https://playwright.dev/docs/test-components So it is possible. But I will want a little more input on the runtime stuff involved.

There's a version of strip-comments embedded in the FreeCodeCamp Curriculum Helpers that has the bug resolved in case anyone is still interested. https://github.com/freeCodeCamp/curriculum-helpers/blob/main/lib/strip.ts

That's a feature with regular Javascript though and not limited to just this game engine. There is a string.replaceAll method.

I can confirm this issue. Silly me thought this was an issue with the config I was using.