sebastien 6 년 전
부모
커밋
7b78d1e6ce

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1543 - 1543
Playground/babylon.d.txt


+ 1 - 1
Tools/Gulp/package.json

@@ -9,6 +9,6 @@
     "readme": "https://github.com/BabylonJS/Babylon.js/edit/master/readme.md",
     "license": "(Apache-2.0)",
     "scripts": {
-        "install": "cd ../../ && npm install && cd Playground/ && npm install && cd ../tests/unit/ && npm install && cd ../../Viewer/tests/ && npm install && cd ../../Viewer && npm install && cd ../Tools/Gulp/"
+        "install": "cd ../../ && npm install && cd Playground/ && npm install && cd ../Viewer && npm install && cd ../Tools/Gulp/"
     }
 }

+ 0 - 16
Viewer/tests/package.json

@@ -1,16 +0,0 @@
-{
-    "name": "babylonjsviewerunittest",
-    "version": "7.7.7",
-    "description": "Unit Tests Suite For Babylon.js' viewer",
-    "main": "",
-    "repository": {
-        "url": "https://github.com/BabylonJS/Babylon.js/"
-    },
-    "readme": "https://github.com/BabylonJS/Babylon.js/edit/master/readme.md",
-    "license": "(Apache-2.0)",
-    "devDependencies": {
-        "@types/mocha": "2.2.46",
-        "@types/chai": "^4.1.0",
-        "@types/sinon": "^4.1.3"
-    }
-}

+ 3 - 3
Viewer/tests/unit/src/viewerReference.ts

@@ -1,6 +1,6 @@
-/// <reference path="../../node_modules/@types/chai/index.d.ts" />
-/// <reference path="../../node_modules/@types/mocha/index.d.ts" />
-/// <reference path="../../node_modules/@types/sinon/index.d.ts" />
+/// <reference path="../../../../node_modules/@types/chai/index.d.ts" />
+/// <reference path="../../../../node_modules/@types/mocha/index.d.ts" />
+/// <reference path="../../../../node_modules/@types/sinon/index.d.ts" />
 /*
  * Create a constant with the ChaiJS' expect module just to make the code more readable.
  */

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1589 - 1589
dist/preview release/babylon.d.ts


+ 5 - 5
dist/preview release/gui/babylon.gui.js

@@ -7761,13 +7761,13 @@ var TextBlock = /** @class */ (function (_super) {
      */
     TextBlock.prototype.computeExpectedHeight = function () {
         if (this.text && this.widthInPixels) {
-            var context = document.createElement('canvas').getContext('2d');
-            if (context) {
-                this._applyStates(context);
+            var context_1 = document.createElement('canvas').getContext('2d');
+            if (context_1) {
+                this._applyStates(context_1);
                 if (!this._fontOffset) {
-                    this._fontOffset = control_1.Control._GetFontOffset(context.font);
+                    this._fontOffset = control_1.Control._GetFontOffset(context_1.font);
                 }
-                var lines = this._lines ? this._lines : this._breakLines(this.widthInPixels - this.paddingLeftInPixels - this.paddingRightInPixels, context);
+                var lines = this._lines ? this._lines : this._breakLines(this.widthInPixels - this.paddingLeftInPixels - this.paddingRightInPixels, context_1);
                 return this.paddingTopInPixels + this.paddingBottomInPixels + this._fontOffset.height * lines.length;
             }
         }

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/preview release/gui/babylon.gui.js.map


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/preview release/gui/babylon.gui.min.js.map


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/preview release/inspector/babylon.inspector.bundle.js.map


+ 5 - 2
package.json

@@ -40,9 +40,12 @@
     "readmeFilename": "README.md",
     "dependencies": {},
     "devDependencies": {
-        "base64-font-loader": "0.0.4",
-        "typescript": "~3.0.1",
         "@types/node": "^10.5.3",
+        "@types/mocha": "2.2.46",
+        "@types/chai": "^4.1.0",
+        "@types/sinon": "^4.1.3",
+        "typescript": "~3.0.1",
+        "base64-font-loader": "0.0.4",
         "clean-webpack-plugin": "^0.1.19",
         "ts-loader": "^5.2.1",
         "webpack": "^4.20.2",

+ 3 - 3
tests/unit/babylon/babylonReference.ts

@@ -3,9 +3,9 @@
 /// <reference path="../../../dist/preview release/glTF2Interface/babylon.glTF2Interface.d.ts"/>
 /// <reference path="../../../dist/preview release/serializers/babylon.glTF2Serializer.d.ts" />
 
-/// <reference path="../node_modules/@types/chai/index.d.ts" />
-/// <reference path="../node_modules/@types/mocha/index.d.ts" />
-/// <reference path="../node_modules/@types/sinon/index.d.ts" />
+/// <reference path="../../../node_modules/@types/chai/index.d.ts" />
+/// <reference path="../../../node_modules/@types/mocha/index.d.ts" />
+/// <reference path="../../../node_modules/@types/sinon/index.d.ts" />
 
 /*
  * Create a constant with the ChaiJS' expect module just to make the code more readable.

+ 0 - 16
tests/unit/package.json

@@ -1,16 +0,0 @@
-{
-  "name": "babylonjsunittest",
-  "version": "6.6.6",
-  "description": "Unit Tests Suite For Babylon.js",
-  "main": "",
-  "repository": {
-    "url": "https://github.com/BabylonJS/Babylon.js/"
-  },
-  "readme": "https://github.com/BabylonJS/Babylon.js/edit/master/readme.md",
-  "license": "(Apache-2.0)",
-  "devDependencies": {
-    "@types/mocha": "2.2.46",
-    "@types/chai": "^4.1.0",
-    "@types/sinon": "^4.1.3"
-  }
-}