MooTools Plugins and Enhancements Repository
JavaScript Ruby PHP
Pull request Compare This branch is 2318 commits behind mootools:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Docs
Source
Specs
Styles/Interface
Tests
assets
.gitmodules
README.md
build.rb
build.yml

README.md

MooTools Plugins and Enhancements Repository

Wiki

TO DO

  • Move demo/tutorials from Clientcide wiki to Mootorial; update links in docs
  • Compat for Clientcide
  • make detach method for all classes that attach to elements
  • make destroy method for all classes that create elements

StyleGuide

Breaking changes from RC1

  • URI
    • domain renamed to host
  • Fx.Accordion
    • no longer organizes the DOM for you

Breaking Changes from More

  • Tips
    • options:offsets in Tips renamed to offset
  • Accorion
    • renamed to Fx.Accordion
  • SmoothScroll
    • renamed to Fx.SmoothScroll

Breaking Changes from Clientcide

  • IframeShim
    • options:zindex renamed to zIndex
  • JsonP
    • renamed to Request.JSONP
    • constructor/send/prepareUrl take options hash, no longer an url directly (like Request)
    • user can change options on the fly when calling send() with a new hash, reusing the object
    • added check method. support for link: ignore, cancel, chain (like Request)
    • added success, request and cancel events
    • data can be a hash or string now (like Request)
    • queryString option gone
    • makeUrl logic now moved to new getScript(), which directly returns the script
    • changed how it essentially works. instead of storing the object reference, we store a new function every time a request is made, that keeps a reference of the script element and the object instance.
    • abortAfter and timeout gone. there's now a single timeout for retries and for when retries run out.
    • globalFunction gone, deemed useless
  • Browser.Extras completely refactored into URI Native object
    • Browser.redraw is gone
  • Class.Binds no longer supports lowercase binds
  • Element.fxOpacityOk (which was never documented or intended for external use) is gone
  • Element.isVisible renamed to Element.isDisplayed
  • FormValidator base class no longer does what it did (that is now in FormValidator.Inline)
  • OverText
    • no longer takes a collection of inputs.
    • .showTxt > .show, .hideTxt > .hide
    • .hide and .show no longer take the element and 'focus' arguments.
    • .repositionAll is gone; .repositionOverTxt is now just .reposition; it does not take an argument
  • String.Extras
    • findAllEmails gone, too specific
  • Date
    • Number / String extensions moved to string extras. zeroise made an anonymous function, was lame
  • Element.setPosition is now Element.position
  • String.Extra query functions moved to URI.js
    • parseQuery > parseQueryString for consistency with cleanQueryString
  • Request.Queue
    • event names all renamed; onRequestStart >> onRequest, onRequestSuccess >> onSuccess, etc