fix some travis bug

This commit is contained in:
lxsang
2020-06-22 12:27:02 +02:00
parent 297aecc53c
commit 9281cfb8db
2 changed files with 2 additions and 8 deletions

View File

@ -182,7 +182,7 @@ namespace OS {
if (this.timer) {
clearTimeout(this.timer);
}
return (this.timer = setTimeout(() => func(), t));
return (this.timer = window.setTimeout(() => func(), t));
};
return func();
}