Closed
Bug 569698
Opened 14 years ago
Closed 14 years ago
convert collection.md to apidocs format
Categories
(Add-on SDK Graveyard :: General, defect)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
0.5
People
(Reporter: fiveinchpixie, Assigned: fiveinchpixie)
Details
Attachments
(1 file)
3.14 KB,
patch
|
adw
:
review+
|
Details | Diff | Splinter Review |
<et al>
Assignee | ||
Comment 1•14 years ago
|
||
Attachment #449920 -
Flags: review?(adw)
Comment 2•14 years ago
|
||
Comment on attachment 449920 [details] [diff] [review] update collections.md to api docs format Looks great, thanks. >-<code>Collection.**add**(*itemOrItems*)</code> >+<api name="add"> >+@method >+Adds a single item or an array of items to the collection. Any items already >+contained in the collection are ignored. >+@param itemOrItems {object} An item or array of items. The only question I have is about specifying "object" as the type here. That's technically correct, but do you think it would be more helpful to specify "object or array"? Up to you. >-<code>Collection.**remove**(*itemOrItems*)</code> >+<api name="remove"> >+@method >+Removes a single item or an array of items from the collection. Any items not >+contained in the collection are ignored. >+@param itemOrItems {object} An item or array of items. Here too.
Attachment #449920 -
Flags: review?(adw) → review+
Comment 3•14 years ago
|
||
Bug 570850 makes my suggestion not possible right now, so pushed: http://hg.mozilla.org/labs/jetpack-sdk/rev/f53e0d84a1b8
Status: NEW → RESOLVED
Closed: 14 years ago
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: -- → 0.5
Comment 4•14 years ago
|
||
D'oh, wrong link, here's the right one: http://hg.mozilla.org/labs/jetpack-sdk/rev/2d5b7cbfc1d8
Comment 5•14 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
You need to log in
before you can comment on or make changes to this bug.
Description
•