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):

^[perchanceExamples.getLength * "AU Perchance".includes(bym.value) * (filterOutput(perchanceExamples.selectAll.map(x => x.$text)).length > 0)]
// for filtering examples with user "Perchance", line 34
^[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 🙂)

  • BluePowerOP
    link
    fedilink
    English
    arrow-up
    3
    ·
    9 months ago

    Thanks Dev! Now there aren’t any warnings in the generator anymore. 👍