June 12th, 2008
6 Comments

MooTools 1.1 To 1.2 - Compatibility Layer

The MooTools-Team keeps working hard on the page and the requested missing features. The compatibility-layer for the 1.11 version is one of the frequent requests in the group, so I’ll provide them here for now:

Browse them on github (or should we call it moohub?).

The compat scripts add the class and methodnames that have changed from 1.11 to 1.2. They also reflect several changed function arguments. MooTools 1.2 provides a powerful and consistent API, so I’ll continue my series on the changes that everybody can make the switch soon! I suggest to start reading them, to get an idea of the renamed classes and methods. Don’t trust these compat files implicitly, better convert your 1.11 scripts to 1.2 soon. We may update the compats for a more comprehensive 1.11 support, but 1.2 is the future-proof version!

Share it: Stumble it!Digg This!del.icio.us (No Posts)

discussion by DISQUS 6 Comments

Please use the support forums for discussing the project, asking questions or posting bug-fixes!

Sort:
Comments 1 – 6 of 6:
  • First
  • ‹ Prev
  • Next ›
  • Last
  • reply
    Avatar
    tbela99
    said 4 years ago (1 Point)

    Drag.Base is missing!

  • reply
    Avatar
    tbela99
    said 4 years ago (1 Point)

    the Element.getValue() is missing!

  • reply
    Avatar
    FleX
    said 4 years ago (1 Point)

    WTF, why all websites wrote that "better convert your 1.11 scripts to 1.2 soon" but no manual how-to-do-this!

  • reply
    Avatar
    said 4 years ago (1 Point)

    thanks for this, i used the compatibilty layer all the way through 1.2 beta 1 to random trunk releases. Then the full release came out and it was gone! I thought I was going to be stuck with mootools-trunk-1544-compatible.js forever!

  • reply
    Avatar
    said 4 years ago (1 Point)

    Honestly these files are pretty incomplete... not that I don't appreciate them : ) but they don't solve all the problems and in one case (the XHR class) are just plain wrong...

    If anyone is interested I wrote a tutorial about upgrading and another compatibility file that solves a bunch of the problems with these files and brings backwards compatibility closer to 100%:

    http://www.siafoo.net/article/...

    Also totally off topic, the Autocompleter and History Manager are awesome thanks!

  • reply
    Avatar
    said 4 years ago (1 Point)

    Well done, it allow an instant compatibility for the useful calendar from "electricprism" that I'm using.

Comments 1 – 6 of 6:
  • First
  • ‹ Prev
  • Next ›
  • Last

Post your comment

Please use the support forums for discussing the project, asking questions or posting bug-fixes!


Internet Consultant & Contractor

I'm available to combine forces with you and your team to find the most simple, elegant and convenient web solutions . I await your call.

If you just like my work and want to say Thank You, donate via PayPal or Amazon Wish List.

Developer Resources & Tools