]> source.dussan.org Git - jquery.git/commit
Data:Event:Manipulation: Prevent collisions with Object.prototype
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Mon, 2 Mar 2020 22:02:42 +0000 (23:02 +0100)
committerGitHub <noreply@github.com>
Mon, 2 Mar 2020 22:02:42 +0000 (23:02 +0100)
commit9d76c0b163675505d1a901e5fe5249a2c55609bc
tree33c4b3ec7a4d312b7db7f9ff1ef5ed21f15992c0
parent358b769a00c3a09a8ec621b8dcb2d5e31b7da69a
Data:Event:Manipulation: Prevent collisions with Object.prototype

Make sure events & data keys matching Object.prototype properties work.
A separate fix for such events on cloned elements was added as well.

Fixes gh-3256
Closes gh-4603
src/data/Data.js
src/event.js
src/event/trigger.js
src/manipulation.js
test/unit/data.js
test/unit/event.js