Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit e2789c0

Browse files
committed
ensure only single sourceURL
1 parent e24f3ea commit e2789c0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/loader.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,9 @@ function logloads(loads) {
11011101
var sourceMap = compiler.getSourceMap();
11021102

11031103
if (__global.btoa && sourceMap) {
1104-
source += '\n//# sourceURL=' + load.address + '!eval';
1104+
// add "!eval" to end of Traceur sourceURL
1105+
// I believe this does something?
1106+
source += '!eval';
11051107
source += '\n//# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(sourceMap))) + '\n';
11061108
}
11071109

0 commit comments

Comments
 (0)