vscode/extensions/notebook-renderers
Remco Haszing a131a88231
Replace removeChild with remove (#213465)
* 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>
2024-06-05 00:21:08 +02:00
..
media feat: Add the logo of the built-in extension (#192999) 2023-10-05 10:40:24 -07:00
src Replace removeChild with remove (#213465) 2024-06-05 00:21:08 +02:00
.gitignore re #142429. Image renderer moved to extension. 2022-02-07 12:49:20 -08:00
.vscodeignore remove unecessary files in build 2022-02-18 20:38:55 +01:00
esbuild.js Combine esbuild scripts (#184531) 2023-06-09 14:55:05 -07:00
package.json feat: Add the logo of the built-in extension (#192999) 2023-10-05 10:40:24 -07:00
package.nls.json re #142429. Image renderer moved to extension. 2022-02-07 12:49:20 -08:00
README.md re #142429. Image renderer moved to extension. 2022-02-07 12:49:20 -08:00
tsconfig.json Remove notebook editor edit api (#158988) 2022-08-29 09:34:57 -07:00
yarn.lock Bump word-wrap from 1.2.3 to 1.2.4 in /extensions/notebook-renderers (#188225) 2023-09-14 12:04:47 +02:00

Builtin Notebook Output Renderers for Visual Studio Code

Notice: This extension is bundled with Visual Studio Code. It can be disabled but not uninstalled.

Features

This extension provides the following notebook renderers for VS Code:

  • Image renderer for png, jpeg and gif