Skip to content

Instantly share code, notes, and snippets.

@jensarps
Created November 25, 2011 11:12
Show Gist options
  • Save jensarps/1393287 to your computer and use it in GitHub Desktop.
Save jensarps/1393287 to your computer and use it in GitHub Desktop.
IDBWrapper tutorial, step 7
var onsuccess = function(){
console.log('now the store is clean again!');
}
var onerror = function(error){
console.log('Oh noes, sth went wrong!', error);
}
customers.clear(onsuccess, onerror);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment