Compatibility issues between 1.2 and 1.1

12 views
Skip to first unread message

ankit

unread,
Oct 21, 2009, 10:16:39 AM10/21/09
to MooTools Users
I have this huge piece of code written in mootools 1.2 and
unfortunately, the environment it is supposed to run in uses mootools
1.1 as default ( Joomla! 1.5 )

What I'm doing is loading mootools 1.2 instead of 1.1. As a result, if
a user has a lot of 1.11 javascript code on her site, it doesn't work
too well when I load mootools 1.2.x.

I tried Harald's compatibility layer,
http://digitarald.de/journal/38150523/mootools-1-1-to-1-2-compatibility-layer/,
but it doesn't work too well. Sites that use heavy mootools 1.1 based
code do not run well when I load mootools 1.2 instead of 1.1.

Any suggestions on what's the best way to proceed? I'm talking about
many lines of code so it wouldn't be easy to rewrite the code using
mootools 1.1 or another framework like jQuery ( which has some way in
which it does not conflict with mootools )


Daniel Lohse

unread,
Oct 21, 2009, 10:27:48 AM10/21/09
to mootool...@googlegroups.com
I think that the compatibility code is not up-to-date. Version 1.2 has
been around for a long time now and I don't think that the
compatibility layer is being updated anymore.

Or is it?

Daniel

Ankit Ahuja

unread,
Oct 21, 2009, 10:50:00 AM10/21/09
to mootool...@googlegroups.com
No it isn't. The last commit to the compatibility code made sometime in October 2008 :| I am using version 1.2.3 to be precise.

-- Cheers
Ankit Ahuja
[self web:http://ankitahuja.com]
Reply all
Reply to author
Forward
0 new messages