You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 16, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 16, 2026. It is now read-only.
I have my modes compiled with shasums attached that way I can serve them as immutbale resources (so for example /javascript/javascript-sha256-23958394893040blahblah). This makes the current replacement-based modeURL system difficult to use for dynamically loading modes. I actually currently get away with passing in a fake string object that has a replace method:
While this works today, it is certainly not ideal as I have to rely on knowledge that replace() gets called. Having modeURL accept a function, or a separate URLForMode option for a callback that returns the URL given a mode would make my code more future-proof.
Activity
marijnh commentedon Jun 3, 2020
Does the
pathoption from attached patch help?[loadmode addon] Support overriding script loading and filename compu…
tolmasky commentedon Jun 3, 2020
Responding here too -- yes this looks good! Thanks!
marijnh commentedon Jun 3, 2020
Great!
Update/5.58.2 (#1)