Bug Tracker

Changes between Initial Version and Version 1 of Ticket #7968, comment 1


Ignore:
Timestamp:
Jan 14, 2011, 6:21:17 PM (9 years ago)
Author:
jitter
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7968, comment 1

    initial v1  
    11Thanks for taking the time to contribute to the jQuery project by writing a bug report and providing a test case!
    22
    3 This is no bug in jQuery but a misunderstanding on how the `eventData` parameter to the `.bind()` method can be used. The [http://api.jquery.com/bind bind() documentation] says:
     3This is no bug in jQuery but a misunderstanding on how the `eventData` parameter can be used. The [http://api.jquery.com/bind bind() documentation] says:
    44> '''eventData''' A '''map''' of data that will be passed to the event handler.
    5 From this it should become apparent that the `eventData` parameter needs to be a map of data and thus can not be a primitive value like `false`.
    6 
    7 This [http://jsfiddle.net/jitter/bqgUh/ live test case] shows a usage of the `eventData` parameter which follows the documentation and works as expected.
     5From this it should become apparent that the `eventData` parameter needs to be a map of data and thus can not be a primitive value like `false`. This [http://jsfiddle.net/jitter/bqgUh/ live test case] shows a usage of the `eventData` parameter which follows the documentation and works as expected.