Pending

User tests: Successful: Unsuccessful:

avatar wilsonge
wilsonge
22 Apr 2013

Converts mootools to jQuery

New Tracker Item as this is a bug: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=30666

avatar wilsonge wilsonge - open - 22 Apr 2013
avatar piotr-cz
piotr-cz - comment - 23 Apr 2013

What about enclosing CAPTION in Joomla namespace? Joomla is already creating tons of global variables with possible ns conflicts.

// Define Joomla object if hasn't been yet.
var Joomla = (Joomla || {});

// Caption functionality
Joomla.Caption = function( selector ) {
    jQuery( selector ).each(function( index, element ) { 
        ///...
    });
};

avatar wilsonge
wilsonge - comment - 23 Apr 2013

Nice idea will add this in this evening :)

avatar piotr-cz
piotr-cz - comment - 24 Apr 2013

There's no need to use the self-invoking anonymous function, if you use jQuery instead of $ as in my previous comment. But this is just how I code, no pushing

avatar infograf768
infograf768 - comment - 24 Apr 2013

See tracker for issues on Windows.

avatar wilsonge
wilsonge - comment - 8 Aug 2013

Closing as now part of GSOC project

Add a Comment

Login with GitHub to post a comment