| Summary: | jsdoc service registry events | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | John Arthorne <john.arthorne> | ||||||
| Component: | Client | Assignee: | Michael Rennie <Michael_Rennie> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | john.arthorne, mamacdon, Michael_Rennie | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | 4.0 RC3 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
John Arthorne
Created attachment 236232 [details]
updates JSDoc
The patch adds the @event doc for the three events: modified, registered, and unregistering. It also updates the doc on the two functions to be better JSDoc formatted, using: @name, @description, @public, @memberOf, and @function
Created attachment 236296 [details]
updated memberof sections
Updated the memberof sections to mention SeviceRegistry.prototype rather than just the class name.
(In reply to Michael Rennie from comment #2) > Created attachment 236296 [details] > updated memberof sections > > Updated the memberof sections to mention SeviceRegistry.prototype rather > than just the class name. To make life a bit easier I open a pull request: https://github.com/eclipse/orion.client/pull/28 (In reply to Michael Rennie from comment #3) > (In reply to Michael Rennie from comment #2) > > Created attachment 236296 [details] > > updated memberof sections > > > > Updated the memberof sections to mention SeviceRegistry.prototype rather > > than just the class name. > > To make life a bit easier I open a pull request: > https://github.com/eclipse/orion.client/pull/28 I couldn't find a good way to update the pull request from github, so I pushed the updated doc to Gerrit: https://git.eclipse.org/r/17694 I removed the use of the @event tag because when the doc is created they all show up in an events section (GOOD) but are doc'd to look like functions, which in this case they are not (BAD). So instead I added comments on the addEventListener and related methods about the three types of events they can register for. Added a couple of comments to Gerrit. This was merged via Gerrit. |