Remove A-Frame XR due to its use of eval

This commit is contained in:
Greg Fodor 2018-07-31 00:40:15 +00:00
Родитель 7786e8ebba
Коммит eb24ce6572
4 изменённых файлов: 5 добавлений и 15 удалений

16
package-lock.json сгенерированный
Просмотреть файл

@ -517,9 +517,7 @@
"requires": {
"@tweenjs/tween.js": "^16.8.0",
"browserify-css": "^0.8.2",
"debug": "github:ngokevin/debug#ef5f8e66d49ce8bc64c6f282c15f8b7164409e3a",
"deep-assign": "^2.0.0",
"document-register-element": "github:dmarcos/document-register-element#8ccc532b7f3744be954574caf3072a5fd260ca90",
"envify": "^3.4.1",
"load-bmfont": "^1.2.3",
"object-assign": "^4.0.1",
@ -533,7 +531,11 @@
"dependencies": {
"debug": {
"version": "github:ngokevin/debug#ef5f8e66d49ce8bc64c6f282c15f8b7164409e3a",
"from": "github:ngokevin/debug#noTimestamp"
"from": "github:ngokevin/debug#ef5f8e66d49ce8bc64c6f282c15f8b7164409e3a"
},
"document-register-element": {
"version": "github:dmarcos/document-register-element#8ccc532b7f3744be954574caf3072a5fd260ca90",
"from": "github:dmarcos/document-register-element#8ccc532b7f3744be954574caf3072a5fd260ca90"
}
}
},
@ -585,10 +587,6 @@
"version": "github:mozillareality/aframe-teleport-controls#14f296cad85cea6d15ee5ba08b142526ff9573f4",
"from": "github:mozillareality/aframe-teleport-controls#hubs/master"
},
"aframe-xr": {
"version": "github:brianpeiris/aframe-xr#3162aed9f054b5a604e46a74a4f8599d4ac2ad58",
"from": "github:brianpeiris/aframe-xr#3162aed"
},
"after": {
"version": "0.8.2",
"resolved": "https://registry.npmjs.org/after/-/after-0.8.2.tgz",
@ -3791,10 +3789,6 @@
"esutils": "^2.0.2"
}
},
"document-register-element": {
"version": "github:dmarcos/document-register-element#8ccc532b7f3744be954574caf3072a5fd260ca90",
"from": "github:dmarcos/document-register-element#8ccc532b7"
},
"dom-converter": {
"version": "0.1.4",
"resolved": "https://registry.yarnpkg.com/dom-converter/-/dom-converter-0.1.4.tgz",

Просмотреть файл

@ -36,7 +36,6 @@
"aframe-rounded": "^1.0.3",
"aframe-slice9-component": "^1.0.0",
"aframe-teleport-controls": "github:mozillareality/aframe-teleport-controls#hubs/master",
"aframe-xr": "github:brianpeiris/aframe-xr#3162aed",
"classnames": "^2.2.5",
"copy-to-clipboard": "^3.0.8",
"deepmerge": "^2.1.1",

Просмотреть файл

@ -17,7 +17,6 @@ AFRAME.GLTFModelPlus.registerComponent("point-light", "light");
AFRAME.GLTFModelPlus.registerComponent("skybox", "skybox");
AFRAME.GLTFModelPlus.registerComponent("layers", "layers");
AFRAME.GLTFModelPlus.registerComponent("shadow", "shadow");
AFRAME.GLTFModelPlus.registerComponent("xr", "xr");
AFRAME.GLTFModelPlus.registerComponent("water", "water");
AFRAME.GLTFModelPlus.registerComponent("scale-audio-feedback", "scale-audio-feedback");
AFRAME.GLTFModelPlus.registerComponent("animation-mixer", "animation-mixer");

Просмотреть файл

@ -6,8 +6,6 @@ import "aframe";
import { patchWebGLRenderingContext } from "./utils/webgl";
patchWebGLRenderingContext();
import "aframe-xr";
import "./vendor/GLTFLoader";
import "networked-aframe/src/index";
import "naf-janus-adapter";