function getSerialOverride() {
xdl_read_config(" xdl_serialports_onboard_override",
function(response){processSerialOverrideResponse(response);},
功能(xhr,状态,错误) ); }
答案 0 :(得分:1)
function(xhr, status, error) )
// ^ where's the body of this function?
答案 1 :(得分:0)
我想你忘记了{}的最后一个功能:
function getSerialOverride() {
xdl_read_config(
"xdl_serialports_onboard_override",
function(response){processSerialOverrideResponse(response);},
function(xhr, status, error){}
);
}