JSAPI.info

YUI._notify

YUI (3.3.0) - see full source
639
640
641
642
643
644
645
646
647
648
649
    _notify: function(callback, response, args) {
        if (!response.success && this.config.loadErrorFn) {
            this.config.loadErrorFn.call(this, this, callback, response, args);
        } else if (callback) {
            try {
                callback(this, response);
            } catch (e) {
                this.error('use callback error', e, args);
            }
        }
    },