Browse Source

legacy export

Raanan Weber 7 years ago
parent
commit
5989c47749
2 changed files with 6 additions and 2 deletions
  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";