public/javascripts/yui/yuiloader/yuiloader.js
function(id) {
        var q = queues[id];
        q.finished = true;

        if (q.aborted) {
            var msg = "transaction " + id + " was aborted";
            _fail(id, msg);
            return;
        }

        // execute success callback
        if (q.onSuccess) {
            var sc=q.scope || q.win;
            q.onSuccess.call(sc, _returnData(q));
        }
    }
function(id) {
        var q = queues[id];
        q.finished = true;

        if (q.aborted) {
            var msg = "transaction " + id + " was aborted";
            _fail(id, msg);
            return;
        }

        // execute success callback
        if (q.onSuccess) {
            var sc=q.scope || q.win;
            q.onSuccess.call(sc, _returnData(q));
        }
    }
function ( id ) { var q = queues [ id ] ; q . finished = true ; if ( q . aborted ) { var msg = "transaction " + id + " was aborted" ; _fail ( id , msg ) ; return ; } // execute success callback if ( q . onSuccess ) { var sc = q . scope || q . win ; q . onSuccess . call ( sc , _returnData ( q ) ) ; } }
The request is complete, so executing the requester's callback
@method _finish
@param id {string} the id of the request
@private
The request is complete so executing the requester s callback