Skip to content

DOM - Element prototype functions#188

Open
edlinkiii wants to merge 3 commits into
phuocng:masterfrom
edlinkiii:contribution/prototype
Open

DOM - Element prototype functions#188
edlinkiii wants to merge 3 commits into
phuocng:masterfrom
edlinkiii:contribution/prototype

Conversation

@edlinkiii

Copy link
Copy Markdown

One line functions that add a jQuery-esque syntax to Vanilla JavaScript via Element.prototype

@edlinkiii edlinkiii changed the title Contribution/prototype DOM - Element prototype functions Sep 11, 2020
@edlinkiii

Copy link
Copy Markdown
Author

Can you offer any feedback on why this wasn't accepted?

@phuocng

phuocng commented Aug 27, 2021

Copy link
Copy Markdown
Owner

The reason is that it's not recommended to override the prototype of built-in object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants