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

Commit 20ced0c

Browse files
committed
traceur source maps fix
1 parent 3393b72 commit 20ced0c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/transpiler.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,7 @@
6666

6767
// add "!eval" to end of Traceur sourceURL
6868
// I believe this does something?
69-
source += '!eval';
70-
71-
return source;
69+
return source + '\n//# sourceURL=' + load.address + '!eval';
7270
}
7371
function doTraceurCompile(source, compiler, filename) {
7472
try {

0 commit comments

Comments
 (0)