]> source.dussan.org Git - jquery.git/commit
event: Stricter type checking in trigger - Fixes #13360 - Closes gh-1153
authorAndrew Plummer <plummer.andrew@gmail.com>
Thu, 31 Jan 2013 18:01:34 +0000 (12:01 -0600)
committerCorey Frang <gnarf@gnarf.net>
Thu, 31 Jan 2013 18:04:32 +0000 (12:04 -0600)
commitd654914fd02412f8d2537279bb8a4db9ecc7095e
tree1c1e37f0d7a5e39a59782dfefc3a7da28647b3ea
parentd3a2ef7cfec6d798dce8fefa96098bc38b9c5a1d
event: Stricter type checking in trigger - Fixes #13360 - Closes gh-1153

Squashed commit of the following:

commit 5935a362c75ecef04d5ec9775cbcaf2165921e8d
Author: Andrew Plummer <plummer.andrew@gmail.com>
Date:   Fri Feb 1 02:40:42 2013 +0900

    Using "hasOwnProperty" to check for direct properties "type" and
    "namespace" on events before triggering.
(cherry picked from commit f005af54e4983658e3ae504111885921c4dca383)
src/event.js
test/unit/event.js