Commit 428e5776 authored by Anton's avatar Anton

Clean up logging statements, change console.log to console.debug

parent 854c2f97
Pipeline #30844 passed with stage
in 1 minute and 10 seconds
......@@ -807,7 +807,6 @@
//
async handleGridDrop () {
let cachedNewCell = this.cachedNewCell
console.log('cached cell', cachedNewCell)
if (cachedNewCell) {
let
......@@ -1019,7 +1018,6 @@
// ----- existing cell
if (obj.id) {
const parsed = obj.target.selector._value
// console.log('anno style', obj, parsed)
x = parsed.xywh[0]
y = parsed.xywh[1]
w = parsed.xywh[2]
......
......@@ -105,7 +105,7 @@ export default {
if (meta && meta.title) this.videoMeta = meta
}
catch (e) {
console.debug('Unable to fetch metadata for annotation')
console.error('Unable to fetch metadata for annotation')
}
await this.fetchAnnotations()
......@@ -138,7 +138,6 @@ export default {
// if (Date.now() - this.lastSignal < 500) return
// this.lastSignal = Date.now()
if (!origin || (origin.type === 'Media' && this.video.target.id === origin.origin.target.id)) {
// console.debug('CellAnnotationList: received video-time-changed event', time, globalTime, origin)
this.playerTime = time
this.gridTime = globalTime
this.contextTime = globalTime
......
......@@ -31,7 +31,7 @@
},
methods: {
handleIframeLoaded (event) {
console.debug(event)
console.debug('handleIframeLoaded', event)
}
}
}
......
......@@ -59,7 +59,7 @@
this.player.pause()
}
catch (err) {
console.debug('Player pause failed', err)
console.error('Player pause failed', err)
}
}
}
......@@ -147,7 +147,7 @@
this.player.currentTime(movieTime)
}
catch (e) {
console.debug('Failed to set time', e.message)
console.error('Failed to set time', e.message)
}
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment