mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-27 17:58:22 +01:00
fix some travis bug
This commit is contained in:
parent
297aecc53c
commit
9281cfb8db
@ -182,7 +182,7 @@ namespace OS {
|
|||||||
if (this.timer) {
|
if (this.timer) {
|
||||||
clearTimeout(this.timer);
|
clearTimeout(this.timer);
|
||||||
}
|
}
|
||||||
return (this.timer = setTimeout(() => func(), t));
|
return (this.timer = window.setTimeout(() => func(), t));
|
||||||
};
|
};
|
||||||
return func();
|
return func();
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
/*
|
|
||||||
* decaffeinate suggestions:
|
|
||||||
* DS102: Remove unnecessary code created because of implicit returns
|
|
||||||
* DS208: Avoid top-level this
|
|
||||||
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
|
|
||||||
*/
|
|
||||||
// Copyright 2017-2018 Xuan Sang LE <xsang.le AT gmail DOT com>
|
// Copyright 2017-2018 Xuan Sang LE <xsang.le AT gmail DOT com>
|
||||||
|
|
||||||
// AnTOS Web desktop is is licensed under the GNU General Public
|
// AnTOS Web desktop is is licensed under the GNU General Public
|
||||||
@ -211,7 +205,7 @@ namespace OS {
|
|||||||
let timer: number;
|
let timer: number;
|
||||||
this.mfeed.unshift(d);
|
this.mfeed.unshift(d);
|
||||||
$(this.fzone).show();
|
$(this.fzone).show();
|
||||||
timer = setTimeout(() => {
|
timer = window.setTimeout(() => {
|
||||||
this.mfeed.delete(d.domel);
|
this.mfeed.delete(d.domel);
|
||||||
if (this.mfeed.data.length === 0) {
|
if (this.mfeed.data.length === 0) {
|
||||||
$(this.fzone).hide();
|
$(this.fzone).hide();
|
||||||
|
Loading…
Reference in New Issue
Block a user