Skip to content

Instantly share code, notes, and snippets.

@dsimard
Created April 26, 2010 20:08
Show Gist options
  • Save dsimard/379819 to your computer and use it in GitHub Desktop.
Save dsimard/379819 to your computer and use it in GitHub Desktop.
jsk.undo.execute(function addUser() {
alert("Add user");
// code to add the user
},
function removeUser() {
alert("Remove user");
// code to remove the previously created user
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment