I know, sometimes when you look at the source code of MooTools you ask yourself, "How could this possibly be any better? Because it's so awesome." I am by and large always stumped by this question, as the code is so meticulously maintained by its authors.
Today, I have an answer. The only way to give you a better MooTools is to give you more of it. It's that awesome. Today, we're making MooTools awesomer.
We give you the new and improved MooTools More - the official plugin collection for MooTools. The plugins we are releasing today take the fifteen files previously in MooTools More and triple them. That's three times the awesome!
What's in it you ask? Well, let me tell you. The new and improved -more currently includes:
- Class extensions including a Binds mutator, easier refactoring, chain pausing and more.
- New Native extensions including more love for String and Array, plus a fully featured Date Native and a URI extension to make managing links downright fun.
- More Element love with help for managing text selection and relative positioning (put this box's lower right corner next to the upper right corner of that other box...)
- Form love including a robust and extensible form validator and a class for displaying hint text over an input.
- Extended Request functionality including JSONP support and Queuing.
- Support for language localization for classes that output text (days of the month, months of the year, form validation errors, etc)
I know, you can barely contain your excitement. Us too! Surely, you ask, there must be a catch to all this awesomeness. Does it cost four easy installments of $19.99? Shipping and handling? Must you sign an oath? Nay! It's free for the taking.
But there are a Few Catches
First, today's release is just the beta - the first release candidate (RC1). This means that you will certainly encounter problems, which would imply that it's not 100% awesome (you are wrong! It is 100% awesome - when the beta is finished and we officially release it it will be 125% awesome).But yes, you may encounter bugs. In this case, you will need to file it in the shiny new MooTools-More dedicated Lighthouse. Industrious types are encouraged to pull the repository from github and try and fix things themselves - helping hands are always appreciated.
In addition to this, the docs for the beta are in a different location (links at the bottom). The search in these docs still points to the google search for the current docs, so the new stuff won't be returned if you use the search.
Also note that there is not a compatibility layer yet written for this release. There are only a handful of items from the previous files that were in MooTools More. For those of you using the Clientcide libraries, you'll see a lot of familiar scripts on the list, and there are numerous changes between the versions on Clientcide and the versions here. You can see the list of breaking changes in the readme.