lib/kissy/5.0.0-alpha.3/build/promise-debug.js
function (progressListener) {
            var self = this, listeners = self[PROMISE_PROGRESS_LISTENERS];
            if (listeners === false) {
                return self;
            }
            if (!listeners) {
                listeners = self[PROMISE_PROGRESS_LISTENERS] = [];
            }
            listeners.push(progressListener);
            return self;
        }
function (progressListener) {
            var self = this, listeners = self[PROMISE_PROGRESS_LISTENERS];
            if (listeners === false) {
                return self;
            }
            if (!listeners) {
                listeners = self[PROMISE_PROGRESS_LISTENERS] = [];
            }
            listeners.push(progressListener);
            return self;
        }
function ( progressListener ) { var self = this , listeners = self [ PROMISE_PROGRESS_LISTENERS ] ; if ( listeners === false ) { return self ; } if ( ! listeners ) { listeners = self [ PROMISE_PROGRESS_LISTENERS ] = [ ] ; } listeners . push ( progressListener ) ; return self ; }
call progress listener when defer.notify is called
@param {Function} [progressListener] progress listener
call progress listener when defer . notify is called