scala-js/scala-js — pull request #1013 by gzm0 (2014-09-09 12:12:50+00:00)
Title: Fix #986: Give scalajsenv.js correct URI in source maps.

Two different things caused this bug:

- The `VirtualJSFile` for scalajsenv.js had a wrong URI
("virtualfile:" was always prepended due to the default
implementation of `toURI`).
- The closure optimizer used the path and not the URI of a
`VirtualFile` when constructing source maps.