Forum Discussion
Hexamon
15 years agoNewbie
Yeah, we were planning on doing something for the RokuDev library, but never got around to it.
Have you tested that? I think I discovered that the global object was actually unique to each function (but it's been a while since I tested and I don't remember). Less like a global mechanism and more like a way to implement Singletons. If that's the case, getConfigValue and setConfigValue are working with different "m" objects, but you can still do it by creating a combined get/set function.
So far appears to be working from various scopes (functions that is). I'll update the post if I see any problems with it.