Closed
Bug 609572
Opened 15 years ago
Closed 13 years ago
Event Emitter needs it's "private" APIs documented
Categories
(Add-on SDK Graveyard :: Documentation, defect, P2)
Add-on SDK Graveyard
Documentation
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dietrich, Assigned: wbamberg)
Details
Attachments
(1 file)
From the docs: "Please note that EventEmitter does not expose neither a method for emitting events nor a list of available event listeners as its public API. Obviously both are accessible but from the instance itself through the private API."
From looking at code using EventEmitter, it appears that these undocumented methods are used regularly by any consumer/implementer of it. If that's the case, then they should be documented.
Comment 1•15 years ago
|
||
The Add-on SDK is no longer a Mozilla Labs experiment and has become a big enough project to warrant its own Bugzilla product, so the "Add-on SDK" product has been created for it, and I am moving its bugs to that product.
To filter bugmail related to this change, filter on the word "looptid".
Component: Jetpack SDK → General
Product: Mozilla Labs → Add-on SDK
QA Contact: jetpack-sdk → general
Version: Trunk → unspecified
| Assignee | ||
Updated•15 years ago
|
Component: General → Documentation
QA Contact: general → documentation
Updated•14 years ago
|
OS: Linux → All
Priority: -- → P2
Hardware: x86 → All
Target Milestone: --- → 1.0
| Assignee | ||
Updated•14 years ago
|
Assignee: nobody → wbamberg
Comment 2•14 years ago
|
||
(automatic reprioritization of 1.0 bugs)
Priority: P2 → P1
Target Milestone: 1.0 → 1.1
| Assignee | ||
Comment 3•14 years ago
|
||
Resetting the priority of this, as module development documentation is not a high priority at the moment.
Priority: P1 → P2
(Pushing all open bugs to the --- milestone for the new triage system)
Target Milestone: 1.1 → ---
| Assignee | ||
Comment 5•13 years ago
|
||
This adds a tutorial on creating event targets using "event/core" and "event/target".
It might be good to have a higher-level construct in the SDK docs called "Module Developer's Guide" or something, that could contain this, the basic "Creating Reusable Modules" guide, the to-be-written tutorial on implementing inheritance, and maybe something standalone on accessing gBrowser and XPCOM (at the moment that stuff is a bit buried inside "porting from XUL".
Attachment #645460 -
Flags: review?(evold)
Comment 6•13 years ago
|
||
I've made some notes on the pull request in github.
Updated•13 years ago
|
Attachment #645460 -
Flags: review?(evold) → review+
Comment 7•13 years ago
|
||
Commit pushed to master at https://github.com/mozilla/addon-sdk
https://github.com/mozilla/addon-sdk/commit/1f3fef7651a533cfcc95cd9fa2c9823d5c7088d7
Merge pull request #509 from wbamberg/609572
Fix bug 609572 - Event Emitter needs it's "private" APIs documented r=erikvold
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 8•13 years ago
|
||
Commit pushed to stabilization at https://github.com/mozilla/addon-sdk
https://github.com/mozilla/addon-sdk/commit/d550d1b0d605552ad214eb83ed8c71a3b727396a
Merge pull request #509 from wbamberg/609572
Fix bug 609572 - Event Emitter needs it's "private" APIs documented r=erikvold(cherry picked from commit 1f3fef7651a533cfcc95cd9fa2c9823d5c7088d7)
You need to log in
before you can comment on or make changes to this bug.
Description
•