Remove console.log
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Cadence Ember 2020-11-25 01:56:49 +13:00
parent 229e6903fd
commit babd098d18
Signed by: cadence
GPG Key ID: BC1C2C61CF521B17
2 changed files with 3 additions and 7 deletions

View File

@ -141,7 +141,6 @@ class Room extends ElemJS {
} else {
string += (4000000000000 - this.timeline.latest) // good until 2065 :)
}
console.log(string)
return string
}

View File

@ -73,14 +73,11 @@ class SubscribeMapList extends Subscribable {
sortByString() {
this.list.sort((a, b) => {
let r
const orderA = this.map.get(a).value().order
const orderB = this.map.get(b).value().order
if (orderA < orderB) r = -1
else if (orderA > orderB) r = 1
else r = 0
console.log("comparing", orderA, orderB, r)
return r
if (orderA < orderB) return -1
else if (orderA > orderB) return 1
else return 0
})
this.broadcast("changeItem")
}