mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
committed by
Max Brunsfeld
parent
dba53f3358
commit
61ef1da815
@@ -113,10 +113,10 @@ require('source-map-support').install({
|
||||
|
||||
let sourceMappingURL = lastMatch[1]
|
||||
let rawData = sourceMappingURL.slice(sourceMappingURL.indexOf(',') + 1)
|
||||
let sourceMapData = new Buffer(rawData, 'base64').toString()
|
||||
let sourceMap = JSON.parse(new Buffer(rawData, 'base64').toString())
|
||||
|
||||
return {
|
||||
map: JSON.parse(sourceMapData),
|
||||
map: sourceMap,
|
||||
url: null
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user