Closed Bug 611792 Opened 14 years ago Closed 14 years ago

widget event listener documentation is wrong

Categories

(Add-on SDK Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: adw, Assigned: adw)

Details

Attachments

(1 file)

The widget documentation is incorrect with regard to the arguments passed to event listeners. It says that listeners are passed only events, but they're passed the widget instance too as the first argument. I'm guessing it was not updated after the conversion to EventEmitter, which is a shame.
Attached patch patchSplinter Review
Attachment #490430 - Flags: review?(dietrich)
Comment on attachment 490430 [details] [diff] [review] patch r=me, thanks!
Attachment #490430 - Flags: review?(dietrich) → review+
Assignee: nobody → adw
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: -- → 0.10
Target Milestone: 0.10 → 1.0b1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: