mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-24 18:22:21 -05:00
Fix idle check when sorting resources
This commit is contained in:
parent
fe969b3c90
commit
8787231a6c
@ -18,7 +18,7 @@ module.exports = BaseCollection.extend({
|
||||
if (!!res1.idleSince && !!res2.idleSince) {
|
||||
return 0;
|
||||
}
|
||||
if (res1.idleSince && !res2.idleSince) {
|
||||
if (res1.idleSince && !!res2.idleSince) {
|
||||
return 1;
|
||||
}
|
||||
return -1;
|
||||
|
@ -1,5 +1,5 @@
|
||||
CACHE MANIFEST
|
||||
# 0.0.1 1388531436566
|
||||
# 0.0.1 1388532098209
|
||||
|
||||
CACHE:
|
||||
/app.js
|
||||
|
Loading…
Reference in New Issue
Block a user