Commit 428e5776 authored by Anton's avatar Anton
Browse files

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 @@ ...@@ -807,7 +807,6 @@
// //
async handleGridDrop () { async handleGridDrop () {
let cachedNewCell = this.cachedNewCell let cachedNewCell = this.cachedNewCell
console.log('cached cell', cachedNewCell)
if (cachedNewCell) { if (cachedNewCell) {
let let
...@@ -1019,7 +1018,6 @@ ...@@ -1019,7 +1018,6 @@
// ----- existing cell // ----- existing cell
if (obj.id) { if (obj.id) {
const parsed = obj.target.selector._value const parsed = obj.target.selector._value
// console.log('anno style', obj, parsed)
x = parsed.xywh[0] x = parsed.xywh[0]
y = parsed.xywh[1] y = parsed.xywh[1]
w = parsed.xywh[2] w = parsed.xywh[2]
......
...@@ -105,7 +105,7 @@ export default { ...@@ -105,7 +105,7 @@ export default {
if (meta && meta.title) this.videoMeta = meta if (meta && meta.title) this.videoMeta = meta
} }
catch (e) { catch (e) {
console.debug('Unable to fetch metadata for annotation') console.error('Unable to fetch metadata for annotation')
} }
await this.fetchAnnotations() await this.fetchAnnotations()
...@@ -138,7 +138,6 @@ export default { ...@@ -138,7 +138,6 @@ export default {
// if (Date.now() - this.lastSignal < 500) return // if (Date.now() - this.lastSignal < 500) return
// this.lastSignal = Date.now() // this.lastSignal = Date.now()
if (!origin || (origin.type === 'Media' && this.video.target.id === origin.origin.target.id)) { 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.playerTime = time
this.gridTime = globalTime this.gridTime = globalTime
this.contextTime = globalTime this.contextTime = globalTime
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
}, },
methods: { methods: {
handleIframeLoaded (event) { handleIframeLoaded (event) {
console.debug(event) console.debug('handleIframeLoaded', event)
} }
} }
} }
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
this.player.pause() this.player.pause()
} }
catch (err) { catch (err) {
console.debug('Player pause failed', err) console.error('Player pause failed', err)
} }
} }
} }
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
this.player.currentTime(movieTime) this.player.currentTime(movieTime)
} }
catch (e) { 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