소스 검색

legacy export

Raanan Weber 7 년 전
부모
커밋
5989c47749
2개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 1
      gui/src/legacy.ts
  2. 3 1
      inspector/src/legacy.ts

+ 3 - 1
gui/src/legacy.ts

@@ -10,4 +10,6 @@ var globalObject = (typeof global !== 'undefined') ? global : ((typeof window !=
 if (typeof globalObject !== "undefined") {
     (<any>globalObject).BABYLON = (<any>globalObject).BABYLON || {};
     (<any>globalObject).BABYLON.GUI = GUI;
-}
+}
+
+export * from "./index";

+ 3 - 1
inspector/src/legacy.ts

@@ -10,4 +10,6 @@ import * as INSPECTOR from "./index";
 var globalObject = (typeof global !== 'undefined') ? global : ((typeof window !== 'undefined') ? window : undefined);
 if (typeof globalObject !== "undefined") {
     (<any>globalObject).INSPECTOR = INSPECTOR;
-}
+}
+
+export * from "./index";