Merge pull request #58 from marcominetti/fix/57
Fixed sourcemap url detection.
This commit is contained in:
commit
d85089bea0
@ -72,7 +72,7 @@ function retrieveSourceMapURL(source) {
|
||||
|
||||
// Get the URL of the source map
|
||||
fileData = retrieveFile(source);
|
||||
var match = /\/\/[#@]\s*sourceMappingURL=(.*)\s*$/m.exec(fileData);
|
||||
var match = /\/\/[#@]\s*sourceMappingURL=([^'"]+)\s*$/m.exec(fileData);
|
||||
if (!match) return null;
|
||||
return match[1];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user