Commit 24e416dc authored by Dave Methvin's avatar Dave Methvin

Fix #10588. For now, event voyeurism only merits the look of disapproval.

If you are using `.data("events")` we would like to know how we can provide a documented interface that satisfies the need.
parent 35bc30cd
......@@ -101,9 +101,8 @@ jQuery.extend({
thisCache[ jQuery.camelCase( name ) ] = data;
}
// TODO: This is a hack for 1.5 ONLY. It will be removed in 1.6. Users should
// not attempt to inspect the internal events object using jQuery.data, as this
// internal data object is undocumented and subject to change.
// Users should not attempt to inspect the internal events object using jQuery.data,
// it is undocumented and subject to change. But does anyone listen? No.
if ( name === "events" && !thisCache[name] ) {
return thisCache[ internalKey ] && thisCache[ internalKey ].events;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment