Skip to content

Latest commit

 

History

History
75 lines (63 loc) · 3.14 KB

README.md

File metadata and controls

75 lines (63 loc) · 3.14 KB

MooTools Plugins and Enhancements Repository

Wiki

TO DO

  • Need to run tests against all browsers
  • Move demo/tutorials from Clientcide wiki to Mootorial; update links in docs
  • Go through lighthouse tickets and identify criticals for 1.0 release
  • Compat for previous version of -more
  • Verify compat for multi-builder on mootools.net
  • Compat for Clientcide
  • Switch to feature detection instead of engine detection
  • update all the Element.Forms methods to getters/setters; tidy them up a bit
  • Update calls to .position to use .setPosition

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
    • makeShim method gone
    • occluded property (Element.storage) now camelcase (iframeShim). consistent with tween, morph, etc
  • 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