src/aria/utils/Json.js
function (listeners, change, listenerToExclude) {
        for (var idx = 0, length = listeners.length; idx < length; idx++) {
            var lsn = listeners[idx];
            if (lsn == listenerToExclude || !lsn) {
                continue;
            }
            var fn = lsn.fn;
            if (fn) {
                // note that calling $callback has an impact on performances (x2)
                // that's why we don't do it here
                fn.call(lsn.scope, change, lsn.args);
            }
        }
    }
function (listeners, change, listenerToExclude) {
        for (var idx = 0, length = listeners.length; idx < length; idx++) {
            var lsn = listeners[idx];
            if (lsn == listenerToExclude || !lsn) {
                continue;
            }
            var fn = lsn.fn;
            if (fn) {
                // note that calling $callback has an impact on performances (x2)
                // that's why we don't do it here
                fn.call(lsn.scope, change, lsn.args);
            }
        }
    }
function ( listeners , change , listenerToExclude ) { for ( var idx = 0 , length = listeners . length ; idx < length ; idx ++ ) { var lsn = listeners [ idx ] ; if ( lsn == listenerToExclude || ! lsn ) { continue ; } var fn = lsn . fn ; if ( fn ) { // note that calling $callback has an impact on performances (x2) // that's why we don't do it here fn . call ( lsn . scope , change , lsn . args ) ; } } }
Call the given listeners with the given parameter.
@param {Array} listeners array of listeners to call (can be retrieved with __retrieveListeners)
@param {Object} change object describing the change
@param {Object} listenerToExclude (optional) potential listener callback belonging to the object that raised the
change and which doesn't want to be notified
Call the given listeners with the given parameter .