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
Note: the foo.js example does not work in browsers:
Chrome: Uncaught TypeError: Failed to resolve module specifier "bar.js". Relative references must start with either "/", "./", or "../".
Firefox: TypeError: Error resolving module specifier: bar.js
Safari: TypeError: Module specifier does not start with "/", "./", or "../".
If a deno program is executed with a local path (as opposed to a remote URL), the
window.location
should resolve to specified file.Say we have
foo.js
in the directory/Users/rld/src/deno/
and suppose it's also uploaded tohttps://example.com/foo.js
and that we also have
bar.js
that lives besidesfoo.js
locally and remotely:Then we should get the following:
(See the discussion in #203)
The text was updated successfully, but these errors were encountered: