Incorrect global in jsdom environment
rexxars opened this issue · comments
After #37 was merged I appear to have some issues where prismjs thinks the global is one thing, while refractor thinks it's a different thing. This results in Prism.manual
not being set, which makes prism attach events to the DOMReady events and such.
I'm not quite sure what the right solution is - I'll see if I can come up with a reproducible test case.
Hmm annoying, sorry, thanks for investigating!
/cc @xiaoxiangmoe on this
@rexxars Can you give me a minimal demo of this?
Closing this for now as not actionable. If this is still an issue and can be solved here, I’d appreciate a reproduction!