We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 280d34a commit 14bb894Copy full SHA for 14bb894
source-map-support.js
@@ -210,7 +210,7 @@ function mapSourcePosition(position) {
210
}
211
212
// Resolve the source URL relative to the URL of the source map
213
- if (sourceMap && sourceMap.map) {
+ if (sourceMap && sourceMap.map && typeof sourceMap.map.originalPositionFor === 'function') {
214
var originalPosition = sourceMap.map.originalPositionFor(position);
215
216
// Only return the original position if a matching line was found. If no
0 commit comments