viewer small fixes

This commit is contained in:
cristi8
2021-11-15 19:16:32 +02:00
parent 5de4f381c6
commit 21a4cfee87
4 changed files with 17 additions and 5 deletions
@@ -8,7 +8,7 @@ import Converter from './converter/Converter'
export default class ViewerObjectLoader {
constructor( parent, objectUrl, authToken, enableCahcing ) {
constructor( parent, objectUrl, authToken, enableCaching ) {
this.objectUrl = objectUrl
this.viewer = parent
this.token = null
@@ -39,7 +39,7 @@ export default class ViewerObjectLoader {
token: this.token,
streamId: this.streamId,
objectId: this.objectId,
options: { enableCahcing: enableCahcing }
options: { enableCaching: enableCaching }
} )
this.converter = new Converter( this.loader )