Bug Tracker

Changes between Version 2 and Version 3 of Ticket #8753, comment 8


Ignore:
Timestamp:
Apr 5, 2011, 3:59:49 PM (11 years ago)
Author:
Rick Waldron
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8753, comment 8

    v2 v3  
    1 <strike>In summation, this will allow us to depart from recommending that specified event properties (that can be found on `event.originalEvent`) be added by calling `jQuery.event.props.push(prop)`.
    2 By calling `jQuery.Event( type, props )`, props will be available directly from the event object argument, with a value either specified by the dev (props) or copied from `event.originalEvent`. This "property adoption" will only be granted to the specified event type, saving all other event types from being required to copy any more properties than is actually needed of them.
    3 </strike>
     1~~In summation, this will allow us to depart from recommending that specified event properties (that can be found on `event.originalEvent`) be added by calling `jQuery.event.props.push(prop)`.
     2By calling `jQuery.Event( type, props )`, props will be available directly from the event object argument, with a value either specified by the dev (props) or copied from `event.originalEvent`. This "property adoption" will only be granted to the specified event type, saving all other event types from being required to copy any more properties than is actually needed of them.~~