Unverified Commit fbb3d0da authored by yann300's avatar yann300 Committed by GitHub

Update sourceMappingDecoder.js

parent bfa0518e
......@@ -216,6 +216,8 @@ function atIndex (index, mapping) {
}
current = current.split(':')
if (current[2] === '-1') { // if the current step has -1 for the file attribute, we discard it
// case: 'file' is not yet assigned, while processing the srcmap (reverse looping) to find 'start', 'length' (etc..), we tumble on -1 for the file.
// in that case the step has to be discarded
if (ret.file === undefined) ret = {}
continue
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment