Opened 12 years ago

Closed 12 years ago

Last modified 7 years ago

#2929 closed defect (fixed)

Typematic requires an object parameter to be passed but null should be allowed

Reported by: Douglas Hays Owned by: Douglas Hays
Priority: high Milestone: 0.9beta
Component: General Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

The obj parameter to addKeyListener and addMouseListener in typematic.js is a user defined object to be passed to the user's callback function. Currently it cannot be null but that seems like an allowable value.

Change History (3)

comment:1 Changed 12 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [8451]) Fixes #2929. The obj parameter has been removed. The callback parameters where changed to (integerCount, DOMNode, eventObject). The key listener key object attribute "key" was renamed to keyCode to align with the new keypress event in 0.9. An optonal charCode was added in case you need to listen to printable characters. Lastly the add listener methods return arrays of connect handles that can be used to call disconnects later.

comment:2 Changed 12 years ago by Douglas Hays

Resolution: fixed

(In [8456]) Fixes #2929. Change the way arrays of handles are concated for IE

comment:3 Changed 7 years ago by cjolif

Wrongly referenced this ticket in a non related commit. Removing misleading comment.

Last edited 7 years ago by cjolif (previous) (diff)
Note: See TracTickets for help on using tickets.