Skip to content

Commit

Permalink
Merge pull request #20 from kevinmusker/master
Browse files Browse the repository at this point in the history
Allow matching of sourceMappingURL lines with whitespace before the EOF
  • Loading branch information
ssenbud committed Oct 20, 2015
2 parents c0bb7c5 + 74c0201 commit e1e2795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stacktrace-gps.js
Expand Up @@ -96,7 +96,7 @@
}

function _findSourceMappingURL(source) {
var m = /\/\/[#@] ?sourceMappingURL=([^\s'"]+)$/.exec(source);
var m = /\/\/[#@] ?sourceMappingURL=([^\s'"]+)\s*$/.exec(source);
if (m && m[1]) {
return m[1];
} else {
Expand Down

0 comments on commit e1e2795

Please sign in to comment.