js/blocks.js
/**
     * Runs the init method of the driver for the trigger and its respective
     * targets/containers.
     */
Runs the init method of the driver for the trigger and its respective
targets/containers.
Runs the init method of the driver for the trigger and its respective targets / containers .
function executeEffectOn(event, target, trigger){
        var effect = false;
        var container = target;
        if(effect = target.data('effect'))
            if(!_EFX.supports(effect, event))
                effect = false
        if(!effect){
            var parents = target.parents('[data-effect]')
            for(var i = 0; i < parents.length && !effect; i++){
                container = $(parents[i])
                effect = container.data('effect')
                if(!_EFX.supports(effect, event))
                    effect = false
            }
        }
        if(effect){
            _drivers[effect][event]({'target':target, 'container':container, 'trigger':trigger, 'event':event}, new _driverFunctions(effect))
        }
    }
function executeEffectOn ( event , target , trigger ) { var effect = false ; var container = target ; if ( effect = target . data ( 'effect' ) ) if ( ! _EFX . supports ( effect , event ) ) effect = false if ( ! effect ) { var parents = target . parents ( '[data-effect]' ) for ( var i = 0 ; i < parents . length && ! effect ; i ++ ) { container = $ ( parents [ i ] ) effect = container . data ( 'effect' ) if ( ! _EFX . supports ( effect , event ) ) effect = false } } if ( effect ) { _drivers [ effect ] [ event ] ( { 'target' : target , 'container' : container , 'trigger' : trigger , 'event' : event } , new _driverFunctions ( effect ) ) } }
Runs the init method of the driver for the trigger and its respective
 targets/containers.
Runs the init method of the driver for the trigger and its respective targets / containers .
// Determine if the the target has a valid effect // Search parents for a valid effect if not on target itself // Run the driver for the effect if it could be resolved