mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-04 20:36:01 +01:00
a131a88231
* Replace removeChild with remove This replaces most uses of `parent.removeChild(child)` with `child.remove()`. The two are almost equivalent. The only difference is that `parent.removeChild(child)` throws if the given node is not a child of the parent, whereas `child.remove()` never throws. There is no noticable performance difference. The only reason to use `removeChild` is to support Internet Explorer, but that’s no longer supported by Monaco editor. * Fix broken CSP hash The script content changed, so the sha256 hash changed too. * Update src/vs/editor/browser/config/charWidthReader.ts Co-authored-by: Logan Ramos <lramos15@gmail.com> --------- Co-authored-by: Logan Ramos <lramos15@gmail.com>