ajaxPro

版本:ajaxPro 9.2.17.1

 

this.onTimeout is not a function  BUG

 

就是直接修改框架的core.js源代码,然后重建dll

 

就是在以前源码中加入异常处理

timeout: function() {
try {
this.duration = new Date().getTime() - this.__start;
var r = this.onTimeout(this.duration, this);
if(typeof r == "undefined" || r != false) {
this.abort();
} else {
this.timeoutTimer = setTimeout(this.timeout.bind(this),
AjaxPro.timeoutPeriod);
}
}

catch(error) {
// Statements that execute in the event of an exception
}

finally {
// Statements that execute afterward either way
}

 

重新编译成dll

所需软件 :7za.exe http://sourceforge.net/project/showfiles.php?group_id=14481&package_id=29413&release_id=686156

build.bat 修改

     set ZIP=d:/Program Files/7-Zip/     注意:  7za.exe 软件的安装目录

    "%ZIP%7z.exe"    注意 :改为  7za.exe  软件名,可能版本不同,名称不同

你可能感兴趣的:(Date,exception,框架,function,dll)