Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Compare and explain MooTools 2.0 by comparing against 1.3. Use the 1.3.x and 2.y.x branches to create comparisons.
branch: 1.3.x

Fixed md.

latest commit b47473ad24
Olmo Maldonado authored
Failed to load latest commit information.
Examples Added Request from Moo Core; ScrollSpy a plugin by DavidWalsh; Databa…
Database.js Fixed md.
ScrollSpy.js Added Request from Moo Core; ScrollSpy a plugin by DavidWalsh; Databa…

MooTools 1.3.x vs 2.y.x

A repo. used to demonstrate the differences between 1.3.x, 2.y.x, and 2.y.x with the use of Host.install.

Branches 1.3.x and 2.y.x are what'd you expect them to be. Always checkout and push to the right branch depending on the code. Try not to optimize the code. We're interested in easy comparisons.

Branch 2.y.x-installed is code that uses the Host.install method. This is used for native augmentation. In other words: Array.install() will allow 1.3.x style: [].forEach.



These examples have been selected or contributed by others. You can send your own code so that you can see the exact difference between the 1.3.x and 2.y.x code.

  1. Fork the repo.
  2. Clone your new repo: git clone
  3. Add your 1.3.x file. `git add .; git commit -am "Added MY_FILE.js."
  4. Push your changes. git push origin 1.3.x
  5. Send a pull request.


  1. Checkout 2.y.x branch and try to port your code. `git checkout origin/2.y.x; commit -am "Ported to 2.y.x"
  2. Push your changes. git push origin 2.y.x
  3. Send a pull request.

Same instructions for 2.y.x-installed.

Something went wrong with that request. Please try again.