Making environment element-specific
This commit is contained in:
parent
2f66c862a8
commit
73642e21f4
|
@ -3,7 +3,7 @@
|
|||
*/
|
||||
let serverTimeDifference = 0;
|
||||
|
||||
export default {
|
||||
export default () => ({
|
||||
|
||||
/**
|
||||
* A generic container for RecogitoJS/Annotorious
|
||||
|
@ -40,4 +40,4 @@ export default {
|
|||
toClientTime: serverTime =>
|
||||
Date.parse(serverTime) - serverTimeDifference
|
||||
|
||||
}
|
||||
})
|
Loading…
Reference in New Issue