Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

online utility to convert jquery syntax to mootools syntax

Is there any online utility to convert jquery syntax to mootools syntax?
Is there any guideline to convert jquery to mootools?

like image 686
Brij Avatar asked Dec 29 '22 21:12

Brij


1 Answers

I've not seen one, no.

But I would argue that even if one did exist, it probably wouldn't be that good. It's hard to convey the meaning of code when you're dealing with such a poetic language as JavaScript; there are just too many ways of doing similar things.

Worse still is that you can't map MT to JQ directly. They have slightly different feature-sets and each would rely on extra things being implemented.

I think you'd get a much cleaner, massively more maintainable result transcoding it yourself. It's a good opportunity to improve on the original too, which can't be a bad thing.

like image 106
Oli Avatar answered Dec 31 '22 13:12

Oli