3 ], function( support
) {
7 div
= document
.createElement( "div" );
9 // Support: IE<9 (lack submit/change bubble), Firefox 23+ (lack focusin event)
10 for ( i
in { submit
: true, change
: true, focusin
: true }) {
13 if ( !(support
[ i
+ "Bubbles" ] = eventName
in window
) ) {
14 // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP)
15 div
.setAttribute( eventName
, "t" );
16 support
[ i
+ "Bubbles" ] = div
.attributes
[ eventName
].expando
=== false;
20 // Null elements to avoid leaks in IE.