Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Do, undo and redo library for javascript
JavaScript CoffeeScript CSS
Branch: master
Failed to load latest commit information.
docs Link back to github
qunit Clean up
test Improve doc
.gitignore Generate gh-pages
.npmignore Getting ready to publish on npm
.travis.yml Add travis to readme
Cakefile Doc push doesn't work
LICENSE Add license
README.md Node.js install ready
package.json Getting ready to publish on npm
undone.js
undone.min.js Add minified

README.md

Undone

Do, undo and redo library for javascript

Build Status

var add = function() { alert('Buy a cat'); }
var remove = function() { alert('Give a cat'); }
undone.execute(add, remove); // Alerts 'Buy a cat'
undone.undo(); // Alerts 'Give a cat'
undone.redo(); // Alerts 'Buy a cat'

See the complete documentation in undone.js

Install

To install for a website, copy undone.min.js with the other javascript files of your project and include it.

To install in a Node.js project npm install undone

Contribute

Give what you want to contribute to open-source :

Donate

You can create issues.

You can also contribute code :

  1. Fork the code on GitHub
  2. Clone your fork in your environment : git clone git@github.com:USERNAME/undone.git
  3. Create a branch for your feature : git checkout -b your_branch_name
  4. Write and delete code and commit as often as you can : git commit -am "A descriptive message"
  5. Push the branch to your fork : git push origin your_branch_name
  6. Create a pull request on GitHub (click the Pull request button on your fork page)

Need more help?

Something went wrong with that request. Please try again.