let matchesFound = 0;
let suchWasDelayed = function(){
- console.debug("blub");
if (timerSuche) {
clearTimeout(timerSuche);
}
};
let requestNext = function(skipCnt){
- console.debug("get next. skip: "+ skipCnt);
let xhr = new XMLHttpRequest();
xhr.onload = () => searchItems(xhr);
xhr.onerror = function (e){
- console.info(`poll error: ${e.type}: ${e.loaded} bytes transferred\n` + JSON.stringify(e));
+ console.warning(`poll error: ${e.type}: ${e.loaded} bytes transferred\n` + JSON.stringify(e));
};
xhr.open('GET', pollUrl + skipParm + skipCnt, true);
xhr.send();