Closed
Bug 908424
Opened 13 years ago
Closed 8 years ago
DeviceStorage documentation errors
Categories
(Developer Documentation Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: onecyrenus, Assigned: agore1)
Details
https://developer.mozilla.org/en-US/docs/WebAPI/Device_Storage
The code for enumerate is incorrect:
It should be something close to below.
var cursor = pics.enumerate();
cursor.onsuccess = function () {
if(cursor.result.name !== null) {
var file = cursor.result;
console.log("File found: " + file.name);
// Once we found a file we check if there is other results
// Then we move to the next result, which call the cursor
// success with the next file as result.
this.continue();
}
}
Updated•10 years ago
|
Component: Help Documentation → General
Product: Firefox → Developer Documentation
Hi I am interested in this bug and want to resolve it. Can you please assign this bug to me?
Thank you
Flags: needinfo?(dolske)
Hi I am interested in this bug and want to resolve it. Can you please assign this bug to me?
Thank you
Comment 3•10 years ago
|
||
I have assigned the bug to you, agore1; however, you don't actually need that to happen before you can work on something. Feel free to just dive in and do it. :)
Assignee: nobody → agore1
Updated•10 years ago
|
Flags: needinfo?(dolske)
hi Eric,
Do I need to do the changes on the MDN page directly or I need to clone any repo and make changes in that.
Flags: needinfo?(eshepherd)
Comment 5•10 years ago
|
||
(In reply to agore1 from comment #4)
> hi Eric,
>
> Do I need to do the changes on the MDN page directly or I need to clone any
> repo and make changes in that.
Just click the edit button on MDN and start editing. We have documentation about how to contribute to MDN:
https://developer.mozilla.org/en-US/docs/MDN/Getting_started
https://developer.mozilla.org/en-US/docs/MDN/Contribute
You can also join us on IRC at irc.mozilla.org in the channel #mdn to get help, or talk with our contributors on the dev-mdc mailing list: https://lists.mozilla.org/listinfo/dev-mdc
Flags: needinfo?(eshepherd)
Hi Eric,
I did the change on https://developer.mozilla.org/en-US/docs/WebAPI/Device_Storage
Please review my changes.
Thank you
Flags: needinfo?(eshepherd)
Comment 7•8 years ago
|
||
Page has been updated as suggested. Page has since been archived.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(eshepherd)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•