瀏覽代碼

configuration loader is now per viewer

Raanan Weber 7 年之前
父節點
當前提交
77cf4fbf1f
共有 2 個文件被更改,包括 1 次插入7 次删除
  1. 1 5
      Viewer/src/configuration/loader.ts
  2. 0 2
      Viewer/src/index.ts

+ 1 - 5
Viewer/src/configuration/loader.ts

@@ -99,8 +99,4 @@ export class ConfigurationLoader {
         });
     }
 
-}
-
-export let configurationLoader = new ConfigurationLoader();
-
-export default configurationLoader;
+}

+ 0 - 2
Viewer/src/index.ts

@@ -17,7 +17,6 @@ import '../assets/pep.min';
 
 
 import { InitTags } from './initializer';
-import { configurationLoader } from './configuration/loader';
 
 // promise polyfill, if needed!
 PromisePolyfill.Apply();
@@ -33,7 +32,6 @@ function init(event) {
 function disposeAll() {
     viewerManager.dispose();
     mapperManager.dispose();
-    configurationLoader.dispose();
 }
 
 // public API for initialization