mirror of
https://github.com/systemjs/systemjs.git
synced 2026-02-01 15:59:54 +00:00
sourceMap reference fix for Buffer
This commit is contained in:
parent
680f800c9e
commit
033c5ed38e
@ -18,7 +18,7 @@ var __exec;
|
||||
if (hasBuffer)
|
||||
return sourceMapPrefix + new Buffer(sourceMapString).toString('base64');
|
||||
else if (typeof btoa != 'undefined')
|
||||
return sourceMapPrefix + btoa(unescape(encodeURIComponent(sourceMap)));
|
||||
return sourceMapPrefix + btoa(unescape(encodeURIComponent(sourceMapString)));
|
||||
else
|
||||
return '';
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user