Skip to content

Instantly share code, notes, and snippets.

@jakearchibald
Created July 21, 2014 13:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jakearchibald/0700c1c622c994c2d335 to your computer and use it in GitHub Desktop.
Save jakearchibald/0700c1c622c994c2d335 to your computer and use it in GitHub Desktop.
store.transaction(function() {
store.put(request, response);
store.delete(request2);
store.put(request3, response3);
}).then(function() {
// transaction successful
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment