From e667f0acb87484617f506b561ecf0497ef9bdf25 Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Tue, 23 May 2017 20:25:48 +0800 Subject: fix source map offset (#1993) Account for whitespace insertions. fixes #505 fixes #890 --- test/input/issue-505/input.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/input/issue-505/input.js (limited to 'test/input/issue-505/input.js') 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); +} -- cgit v1.2.3