Function to delete the data from the current depot database.
| Argument | Type | Description |
|---|---|---|
| onSuccess | Function | Function called when the data is successfully deleted |
| onFailure | Function | Function called if the data could not be deleted |
Example usage:
db = new Mojo.Depot({name:"feedDB", version:1, estimatedSize:25000, replace: false},
this.dbOpenOK.bind(this), this.dbOpenFail.bind(this))
db.removeAll();







0 Comments