April 13th, 2012

In our quest to create HTML5 JQuery-Joomla templates, we’ve created this utility system plugin

JClean JS is a system plugin for Joomla created to remove Mootools frontend library dependency.

When Joomla fires onBeforeRender event, the plugin removes the following libraries:

* core.js
* mootools-core.js
* caption.js
* mootools-more.js
* gantry-totop.js
* gantry-buildspans.js

It also tries to remove routines associated with Mootools window.addEvent ‘load’ and window.addEvent ‘domready’ routines.

At the end, it adds an empty stub routine window.addEvent to avoid any dependency error on Mootool’s addEvent.

*** Installation & Upgrading ***

Download the last version and install it using the default install Joomla!. Please, remember to enable the plugin.

*** Configuration **

No configuration available at this moment. In the roadmap, we are planning to add several parameters to tweak each feature.

*** Parametrization **

Template name
addScript 1
addScript 2
addScript 3
Add empty addEvent
JS file to remove 1
JS file to remove 2
JS file to remove 3
JS file to remove 4
JS file to remove 5
JS file to remove 6
JS file to remove 7
JS file to remove 8