Kyle Baker
Kyle Baker
> I'm not convinced on writing all your connect function code as a string. It depends on what you want to do in this callback, but it may be several...
I'm aware of how the native html onclick works (that it executes the string, etc.). I hope that's clear from my examples and proposal.... My point was that we don't...
So, I'm still pretty strongly against the idea of declaring and calling globals, like this: ```html diff --git a/examples/basic-audio.html b/examples/basic-audio.html index 2444e2d..2b24ea4 100644 --- a/examples/basic-audio.html +++ b/examples/basic-audio.html @@ -16,6 +16,8...
So, I read through some of the NAF source code on this, and realized I hadn't noticed the full power of `NAF.connection.onConnect()` before. I still don't think it's ideal, but...
> I think beginner developers may like to use a global onConnect function, it's just simple. No need to learn about closure and Promise and async/await to start tinkering with...
> We discussed a long time about the eval string where it allowed usage of globals functions, this is why I don't understand you're strongly against the global function If...
This solved my issue, thanks. updated afarme for this fiddle: https://jsfiddle.net/f5djaLtc/ Really wish this were in the docs, or just merged into the main branch. I had dismissed this project...
I actually just experienced this same problem. I would have pulled my hair out tracking it down, but luckily I had literally just added the camera switching method (same one...
Hey, I've been tracking down another bug that I think is of the same root as whatever caused this. I'm still tracking it further, and would like to offer a...
further comment: I added a pull request, you can see my proposed change there. In the meantime, though, just specifically specifying the camera when adding the movement-controls attribute instead of...