]> source.dussan.org Git - jquery.git/commit
Event: Restore the `constructor` property on jQuery.Event prototype
authorDaniel Herman <daniel.c.herman@gmail.com>
Thu, 15 May 2014 16:26:20 +0000 (12:26 -0400)
committerRichard Gibson <richard.gibson@gmail.com>
Thu, 4 Sep 2014 07:28:40 +0000 (03:28 -0400)
commitb807aedb7fee321fb3aa5d156a5a256ab0634e2d
tree91268d79b8e4c868c4de20acfbf7408939486ccd
parent1ae025e24f9920d18cec8a8498bfc4eed7e3f1dc
Event: Restore the `constructor` property on jQuery.Event prototype

The original definition of the jQuery.Event prototype was paving over the
`constructor` property which was causing jQuery.isPlainObject to
improperly report that an instance of jQuery.Event was a plain object.

Fixes #15090
Closes gh-1580
src/event.js
test/unit/event.js