|
|
@ -296,15 +296,15 @@ define([
|
|
|
|
abort(socket, realtime);
|
|
|
|
abort(socket, realtime);
|
|
|
|
if (config.onAbort) {
|
|
|
|
if (config.onAbort) {
|
|
|
|
config.onAbort({
|
|
|
|
config.onAbort({
|
|
|
|
socket
|
|
|
|
socket: socket
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (socketChecker) { clearInterval(socketChecker); }
|
|
|
|
if (socketChecker) { clearInterval(socketChecker); }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
// TODO
|
|
|
|
// it's working as expected, continue
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},200);
|
|
|
|
}, 200);
|
|
|
|
|
|
|
|
|
|
|
|
bindAllEvents(textarea, doc, onEvent, false);
|
|
|
|
bindAllEvents(textarea, doc, onEvent, false);
|
|
|
|
|
|
|
|
|
|
|
|