line numbers start at 1
This commit is contained in:
@@ -56,8 +56,6 @@ function SourceMap(options) {
|
||||
});
|
||||
var orig_map = options.orig && new MOZ_SourceMap.SourceMapConsumer(options.orig);
|
||||
function add(source, gen_line, gen_col, orig_line, orig_col, name) {
|
||||
orig_line++;
|
||||
gen_line++;
|
||||
if (orig_map) {
|
||||
var info = orig_map.originalPositionFor({
|
||||
line: orig_line,
|
||||
|
||||
Reference in New Issue
Block a user