I guess because you’re always copying everything onto the window object?
So if you then call it yourself, because “you don’t think it’s been called automatically, because why would it? You haven’t told it to do that”… it’s actually being called twice.
Ah great! Those were both pet peeves of mine, but I thought they’re probably way too deeply embedded to change at this point. Thanks for this! I’ll let you know if I find any new bugs from it. 👍
Heads up: Just found a critical issue with the new approach - had to disable it for now, so it’s back to the old approach. Need to sleep soon so probably won’t solve it today, but will hopefully get it solved tomorrow 🤞
Cool cool. Do you have any sort of testing set up for perchance? Could be useful for making sure things like this don’t break capabilities.