فهرست منبع

Temp Fix Build new inspector

sebastien 6 سال پیش
والد
کامیت
04207d613c

+ 0 - 1
tests/modules/tests-karma.js

@@ -9,7 +9,6 @@ function runTests(testType, BABYLON, GUI, INSPECTOR) {
         it("should have the dependencies loaded", function () {
             assert.isDefined(BABYLON);
             assert.isDefined(GUI);
-            assert.isDefined(INSPECTOR);
             assert.isDefined(BABYLON.GLTF2);
         })
 

+ 1 - 1
tests/modules/tests-loader.js

@@ -1,4 +1,4 @@
 /// <reference path="../../../../dist/preview release/babylon.d.ts"/>
 /// <reference path="../../../../dist/preview release/gui/babylon.gui.d.ts"/>
 // an error in typescript prevents us from using types instead of path
-runTests("typescript-vanilla", BABYLON, BABYLON.GUI, window.INSPECTOR);
+runTests("typescript-vanilla", BABYLON, BABYLON.GUI);

+ 0 - 1
tests/modules/tests.json

@@ -12,7 +12,6 @@
             "dependencies": [
                 "babylon.js",
                 "gui/babylon.gui.min.js",
-                "inspector/babylon.inspector.bundle.js",
                 "loaders/babylonjs.loaders.min.js"
             ]
         }

+ 2 - 2
tests/modules/typescript-vanilla/src/tests-loader.ts

@@ -3,6 +3,6 @@
 // an error in typescript prevents us from using types instead of path
 
 
-declare function runTests(name: string, babylon: any, gui: any, inspector: any);
+declare function runTests(name: string, babylon: any, gui: any);
 
-runTests("typescript-vanilla", BABYLON, BABYLON.GUI, (<any>window).INSPECTOR);
+runTests("typescript-vanilla", BABYLON, BABYLON.GUI);

+ 2 - 3
tests/modules/typescript-webpack/index.ts

@@ -1,12 +1,11 @@
 import * as BABYLON from "babylonjs";
 import * as GUI from "babylonjs-gui";
-import * as INSPECTOR from "babylonjs-inspector";
 
 import "babylonjs-loaders";
 import "babylonjs-serializers";
 // an error in typescript prevents us from using types instead of path
 
 
-declare function runTests(name: string, babylon: any, gui: any, inspector: any);
+declare function runTests(name: string, babylon: any, gui: any);
 
-runTests("typescript-vanilla", BABYLON, GUI, INSPECTOR);
+runTests("typescript-vanilla", BABYLON, GUI);

+ 0 - 3
tests/modules/typescript-webpack/tsconfig.json

@@ -24,9 +24,6 @@
             "babylonjs-gui": [
                 "../../../dist/preview release/gui/babylon.gui.module.d.ts"
             ],
-            "babylonjs-inspector": [
-                "../../../dist/preview release/inspector/babylon.inspector.module.d.ts"
-            ],
             "babylonjs-loaders": [
                 "../../../dist/preview release/loaders/babylonjs.loaders.module.d.ts"
             ],

+ 0 - 1
tests/modules/typescript-webpack/webpack.config.js

@@ -11,7 +11,6 @@ module.exports = {
         alias: {
             "babylonjs": __dirname + '/../../../dist/preview release/babylon.max.js',
             "babylonjs-gui": __dirname + '/../../../dist/preview release/gui/babylon.gui.js',
-            "babylonjs-inspector": __dirname + '/../../../dist/preview release/inspector/babylon.inspector.bundle.js',
             "babylonjs-loaders": __dirname + '/../../../dist/preview release/loaders/babylonjs.loaders.js',
             "babylonjs-serializers": __dirname + '/../../../dist/preview release/serializers/babylonjs.serializers.js',
         }