Skip to content
This repository was archived by the owner on Feb 26, 2022. It is now read-only.

Bug 888094 Added documentation for sdk/self, property uri#1009

Merged
wbamberg merged 1 commit into
mozilla:masterfrom
Rob--W:patch-1
Jul 16, 2013
Merged

Bug 888094 Added documentation for sdk/self, property uri#1009
wbamberg merged 1 commit into
mozilla:masterfrom
Rob--W:patch-1

Conversation

@Rob--W

@Rob--W Rob--W commented May 28, 2013

Copy link
Copy Markdown
Member

I saw a reference to self's uri property in the documentation for [sdk/passwords](https://addons.mozilla.org/en-US/developers/docs/sdk/1.14/modules/sdk/passwords.html#search(options\)), but it was not mentioned at sdk/self.

I've updated the documentation after looking at the source code of sdk/self.js

(For the record, this is the example I'm referring to, taken from sdk/passwords

function show_my_addon_passwords() {
  require("sdk/passwords").search({
   url: require("sdk/self").uri,

I saw a reference to self's uri property in the documentation
for sdk/passwords, but no explanation for it in the documentation.
I had to infer the meaning from the source code.
wbamberg pushed a commit that referenced this pull request Jul 16, 2013
Fix for bug 888094 Added documentation for sdk/self, property uri - thanks, @Rob--W!
@wbamberg
wbamberg merged commit 0b0ae22 into mozilla:master Jul 16, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants