mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 13:29:44 +00:00
chore - remove unused, bad-layered util-function
This commit is contained in:
parent
e2efa92868
commit
25ad7485b3
|
@ -855,10 +855,6 @@ export function stripUTF8BOM(str: string): string {
|
|||
return startsWithUTF8BOM(str) ? str.substr(1) : str;
|
||||
}
|
||||
|
||||
export function safeBtoa(str: string): string {
|
||||
return btoa(encodeURIComponent(str)); // we use encodeURIComponent because btoa fails for non Latin 1 values
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated ES6
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue