Search
createPerchanceTree does not load imports
It creates objects for the import, but when accessing it it throws the error Cannot read properties of undefined (reading 'getSelf')
from line in the getter:
let moduleRoot = window.moduleSpace[moduleName].getSelf;
So it seems like it thinks it's there, but it hasn't actually loaded in at all.
Short-term, a more useful error message would be useful for creators. But ideally, it would actually load in the import when createPerchanceTree is called.
generator-stats-plugin
delays in showing the last edited time
[Bug?] generator-stats-plugin
delays in showing the last edited time
So, I went to edit and save two of my own generators, broken-generators
and wheel-substance-chance
. However, after reloading on my hub page, the last edited time wasn’t displaying the updated time right away, it just stays the same as when I saved it 1 year ago and 29 days ago, respectively.
After waiting for a few minutes though, it did show the updated time, so there appears to be a delay on the plugin.
Equals in dynamic odds warning, although I'm not assigning a value into anything
The last time I checked my Example Page Generator, I've found some warnings that says that I have some strange dynamic odds in the list code, even though it wasn't all about assigning variables in those things. All I was trying to do is to filter the examples based on the user using Perchance syntax (for reference):
javascript ^[perchanceExamples.getLength * "AU Perchance".includes(bym.value) * (filterOutput(perchanceExamples.selectAll.map(x => x.$text)).length > 0)] // for filtering examples with user "Perchance", line 34
javascript ^[myExamples.getLength * "AU BluePower".includes(bym.value) * (filterOutput(myExamples.selectAll.map(x => x.$text)).length > 0)] // for filtering examples with user "BluePower", line 36
(This isn't necessarily a bug, it's just a little bit of misunderstanding in the warning detection system and it'll be great if it's fixed 🙂)