Closed Bug 1039446 Opened 10 years ago Closed 9 years ago

Update the documentation with the new data shortcut

Categories

(Add-on SDK Graveyard :: Documentation, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: zer0, Unassigned)

References

Details

Once bug 870677 is landed, we should remove all the `self.data.url` from the examples in favor of the data shortcut './'.
We should also document that as it is already for Button UI APIs.
Depends on: 870677
Note: we should not change MDN docs for this issue until this code reaches release chanel, or perhaps a later beta.
Priority: -- → P2
(In reply to Jeff Griffiths (:canuckistani) from comment #1)
> Note: we should not change MDN docs for this issue until this code reaches
> release chanel, or perhaps a later beta.

We must have reached this point by now.
This appears to be done in 

https://developer.mozilla.org/en-US/Add-ons/SDK/Low-Level_APIs/ui_button_action
https://developer.mozilla.org/en-US/Add-ons/SDK/Low-Level_APIs/ui_button_toggle

I'm not sure where else it can be used, but we can make separate bugs for those if necessary I think, we should just add it to the docs if we see it missing at this point though.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
OS: Mac OS X → All
Hardware: x86 → All
You need to log in before you can comment on or make changes to this bug.