Skip to content
This repository

HTTPS clone URL

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

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 Examples
Octocat-spinner-32 Database.js
Octocat-spinner-32 README.md
Octocat-spinner-32 Request.js
Octocat-spinner-32 ScrollSpy.js
README.md

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.

Demonstrations

Contribute

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 git@github.com:USERNAME/mootools-1-vs-2.git
  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.

Optionally:

  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.