87,991
社区成员
发帖
与我相关
我的任务
分享var lockCount=0;
function _form_(type, id, messageId, _stack_,_push_, postData,_pop_, callback, timeout) {
this.type = type;
this.id = id;
this.messageId = messageId;
this._stack_ = _stack_;
this._push_ = _push_;
this.postData = postData;
this._pop_ = _pop_;
this.callback = callback;
if(timeout==null) {
this.timeout = 300000;
} else {
this.timeout = timeout;
}
this.cancel=false; // reserved for future
}
function c3_(type, data) {
this.O_220_= null;
this.type = type;
this.data = data;
}
function postData2SRVNoFoward(_push_, postData , id, messageId,callback, timeout) {
if(_fld_!=null) {
var OOP_ =new _form_(0, id, messageId, null, _push_, postData, false, callback, timeout);
_lyd3_(OOP_);
} else {
alert("cannot allocate xmlhttp");
}
}
function _lyd3_(OOP_) {
var _fld__ = new c3_(0, OOP_);
OOP__(_fld__);
}
function OOP__(_fld__) {
var O_10 = lockCount++;
var pos = O_10%100 ;
O_201[pos]= O_10;
{
_fld__.O_220_ = O_10;
_fld__s[O_10%100] = _fld__;
window.setTimeout("O_0("+O_10+")",5);
}
}
function O_0(O_220_) {
if(O_201[O_220%100]== O_220_) {
var _fld__ = _fld__s[O_220_%100];
_fld__s[O_220_%100] = null;
if(_fld__.type==0 ) {
_m_._fldOO_(O_220_, _fld__.data);
} else if(_fld__.type==1) {
_m_.o_o__O_O_(O_220_);
}
} else {
window.setTimeout("O_0("+O_220_+")",5);
}
}if(O_201[O_220%100]== O_220_) { var _fld__ = _fld__s[O_220_%100]; _fld__s[O_220_%100] = null; if(_fld__.type==0 ) { _m_._fldOO_(O_220_, _fld__.data); } else if(_fld__.type==1) { _m_.o_o__O_O_(O_220_); } }
就是最后一个方法里的if语句的前半部分