legacy.ts 368 B

123456789
  1. import { Inspector } from "../src/index";
  2. var globalObject = (typeof global !== 'undefined') ? global : ((typeof window !== 'undefined') ? window : undefined);
  3. if (typeof globalObject !== "undefined") {
  4. (<any>globalObject).BABYLON = (<any>globalObject).BABYLON || {};
  5. (<any>globalObject).BABYLON.Inspector = Inspector;
  6. }
  7. export * from "../src/index";