Comfy-Org / Comfy-Org/ComfyUI_frontend
[DevTask] Remove "extend prototype" feature of LiteGraphGlobal.registerNodeType
Open
area:litegraph
developer experience
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 699
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 490
Description
Remove code from `registerNodeType` that adds prototype properties to the provided class:
```ts
base_class.prototype[i] ||= LGraphNode.prototype[i]
```
┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-4741-DevTask-Remove-extend-prototype-feature-of-LiteGraphGlobal-registerNodeType-2476d73d36508194a2d9c46b110c82b6) by [Unito](https://www.unito.io)
Contributor guide
Assessment
This issue has not been assessed yet.