Closed
Bug 715698
Opened 13 years ago
Closed 12 years ago
Add support for SDK 1.4's new simple-prefs module
Categories
(addons.mozilla.org Graveyard :: Add-on Builder, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: KWierso, Assigned: smcarthur)
References
Details
SDK 1.4 is shipping a new (currently experimental) API for integrating simple preferences into extensions via the new simple-prefs module. In the offline SDK, preferences are defined as part of the addon's package.json file, like this: { "fullName": "Example Add-on", ... "preferences": [{ "name": "somePreference", "title": "Some preference title", "type": "string", "value": "this is the default string value" }] } But Builder doesn't give us direct access to package.json, so there would have to be some other way of creating the preferences that adds the prefs to package.json for the developer. I guess it could be added to the Properties button's popout?
Updated•13 years ago
|
Assignee: nobody → zaloon
Assignee | ||
Comment 1•12 years ago
|
||
This is done with bug 735531.
Assignee: zaloon → smcarthur
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•