Tsuyoshi Ito
Tsuyoshi Ito
Some NPM packages (e.g., https://www.npmjs.com/package/elm) are meant to provide a native binary executable for various platforms and expose it so that it can be found via PATH when run from...
> Thanks for your reply Seth, could you perhaps go into some more detail as to why you want to avoid window.location and where these relative URLs are common? >...
@stevenvachon That is exactly what I described as “One approach is to generate an absolute URL”, with the drawback I described.
> I'm having trouble thinking of a case where it would be a problem. A simple example is when the user adds an `#include` directive in the wrong position. The...