fix source map offset (#1993)

Account for whitespace insertions.

fixes #505
fixes #890
This commit is contained in:
Alex Lam S.L
2017-05-23 20:25:48 +08:00
committed by GitHub
parent 69ac794bc8
commit e667f0acb8
7 changed files with 83 additions and 30 deletions

View File

@@ -0,0 +1,5 @@
function test(callback) {
'aaaaaaaaaaaaaaaa';
callback(err, data);
callback(err, data);
}