diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2017-05-23 20:25:48 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-23 20:25:48 +0800 |
commit | e667f0acb87484617f506b561ecf0497ef9bdf25 (patch) | |
tree | ac96eb5e3600febd05fcd9e83dd25a649ffb0cd7 /test/input/issue-505/input.js | |
parent | 69ac794bc82a5e8451a49a2a32f44a7aee895542 (diff) | |
download | tracifyjs-e667f0acb87484617f506b561ecf0497ef9bdf25.tar.gz tracifyjs-e667f0acb87484617f506b561ecf0497ef9bdf25.zip |
fix source map offset (#1993)
Account for whitespace insertions.
fixes #505
fixes #890
Diffstat (limited to 'test/input/issue-505/input.js')
-rw-r--r-- | test/input/issue-505/input.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/input/issue-505/input.js b/test/input/issue-505/input.js new file mode 100644 index 00000000..600b12cf --- /dev/null +++ b/test/input/issue-505/input.js @@ -0,0 +1,5 @@ +function test(callback) { + 'aaaaaaaaaaaaaaaa'; + callback(err, data); + callback(err, data); +} |