22
edits
(→API) |
(→API) |
||
Line 34: | Line 34: | ||
// Deletes a file | // Deletes a file | ||
DOMRequest delete(DOMString name); | DOMRequest delete(DOMString name); | ||
// Create a watcher which will call the callback function every time files are updated | // Create a watcher which will call the callback function every time files are updated | ||
// callback will take the DeviceStorage, the file's name, and the update type, which will be one of "created", "deleted", or "modified" | // callback will take the DeviceStorage, the file's name, and the update type, which will be one of "created", "deleted", or "modified" |
edits