Closed Bug 578201 Opened 15 years ago Closed 15 years ago

Fix some tabs module doc nits

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)

Attached patch patchSplinter Review
Just noticed this while helping someone in #jetpack: The final code example in the tabs doc needs to be indented 4 spaces so Markdown knows it's code. Also, we're using var in examples rather than let, since let is (still) Mozilla-specific. And, updated onOpen to explain that the page has not loaded at that point.
Attachment #456954 - Flags: review?(dietrich)
Comment on attachment 456954 [details] [diff] [review] patch > <api name="onOpen"> >-@property {object} >-Fired when a new tab is opened. >+@property {collection} >+Fired when a new tab is opened. Note that at this point the page has not >+finished loading, so not all properties of the `tab` object passed to listeners >+will be available. For example, `tab.location` will not be correct. Use >+`onReady` or `onLoad` to be notfified when the page has loaded. s/Note that// typo: notfified r=me otherwise, thanks!
Attachment #456954 - Flags: review?(dietrich) → review+
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: -- → 0.6
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
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: