Browse Source

legacy export

Raanan Weber 7 năm trước cách đây
mục cha
commit
5989c47749
2 tập tin đã thay đổi với 6 bổ sung2 xóa
  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") {
 if (typeof globalObject !== "undefined") {
     (<any>globalObject).BABYLON = (<any>globalObject).BABYLON || {};
     (<any>globalObject).BABYLON = (<any>globalObject).BABYLON || {};
     (<any>globalObject).BABYLON.GUI = GUI;
     (<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);
 var globalObject = (typeof global !== 'undefined') ? global : ((typeof window !== 'undefined') ? window : undefined);
 if (typeof globalObject !== "undefined") {
 if (typeof globalObject !== "undefined") {
     (<any>globalObject).INSPECTOR = INSPECTOR;
     (<any>globalObject).INSPECTOR = INSPECTOR;
-}
+}
+
+export * from "./index";