Skip to content

Commit

Permalink
Remove magic leap (#1294)
Browse files Browse the repository at this point in the history
* remove magic-leap code

* removed references to magic-leap

* updated deps
  • Loading branch information
elalish committed Jun 18, 2020
1 parent d85aac7 commit d0e57d8
Show file tree
Hide file tree
Showing 27 changed files with 23,453 additions and 26,843 deletions.
5,814 changes: 3,274 additions & 2,540 deletions packages/3dom/package-lock.json

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions packages/model-viewer/POLYFILLS.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,6 @@ the rest of your application code:
<!-- 💁 OPTIONAL: The :focus-visible polyfill removes the focus ring for some input types -->
<script src="./node_modules/focus-visible/dist/focus-visible.js" defer></script>

<!-- 💁 OPTIONAL: Include prismatic.js for Magic Leap support -->
<!--<script src="./node_modules/@magicleap/prismatic/prismatic.min.js"></script>-->

</head>
<body>
<!-- etc -->
Expand Down Expand Up @@ -211,9 +208,6 @@ recommended polyfills and `<model-viewer>`:
<!-- 💁 OPTIONAL: The :focus-visible polyfill removes the focus ring for some input types -->
<script src="https://unpkg.com/focus-visible@5.0.1/dist/focus-visible.js" defer></script>

<!-- 💁 OPTIONAL: Include prismatic.js for Magic Leap support -->
<!--<script src="https://unpkg.com/@magicleap/prismatic@0.18.2/prismatic.min.js"></script>-->

</head>
<body>
<!-- etc -->
Expand Down
14,491 changes: 6,610 additions & 7,881 deletions packages/model-viewer/package-lock.json

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion packages/model-viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
"devDependencies": {
"@google/model-viewer-shared-assets": "^0.0.1",
"@jsantell/event-target": "^1.1.2",
"@magicleap/prismatic": "^2.0.2",
"@open-wc/karma-esm": "^2.11.1",
"@types/chai": "^4.2.7",
"@types/mocha": "^5.2.5",
Expand Down
133 changes: 0 additions & 133 deletions packages/model-viewer/src/features/magic-leap.ts

This file was deleted.

114 changes: 0 additions & 114 deletions packages/model-viewer/src/test/features/magic-leap-spec.ts

This file was deleted.

4 changes: 0 additions & 4 deletions packages/modelviewer.dev/examples/accessibility.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@

<!-- 💁 OPTIONAL: Resize Observer polyfill improves resize behavior in non-Chrome browsers -->
<script src="../node_modules/resize-observer-polyfill/dist/ResizeObserver.js"></script>

<!-- 💁 OPTIONAL: Include prismatic.js for Magic Leap support -->
<!--<script src="../node_modules/@magicleap/prismatic/prismatic.min.js"></script>-->

</head>
<body>
<div id="container">
Expand Down
3 changes: 0 additions & 3 deletions packages/modelviewer.dev/examples/add.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@

<!-- 💁 OPTIONAL: The :focus-visible polyfill removes the focus ring for some input types -->
<script src="../node_modules/focus-visible/dist/focus-visible.js" defer></script>

<!-- 💁 OPTIONAL: Include prismatic.js for Magic Leap support -->
<!--<script src="../node_modules/@magicleap/prismatic/prismatic.min.js"></script>-->
</head>
<body>
<button onclick="addElement()">Add ModelViewer</button><br />
Expand Down
3 changes: 0 additions & 3 deletions packages/modelviewer.dev/examples/animation.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@
<!-- 💁 OPTIONAL: The :focus-visible polyfill removes the focus ring for some input types -->
<script src="../node_modules/focus-visible/dist/focus-visible.js" defer></script>

<!-- 💁 OPTIONAL: Include prismatic.js for Magic Leap support -->
<!--<script src="../node_modules/@magicleap/prismatic/prismatic.min.js"></script>-->

</head>
<body>

Expand Down
3 changes: 0 additions & 3 deletions packages/modelviewer.dev/examples/annotations.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@
<!-- 💁 OPTIONAL: The :focus-visible polyfill removes the focus ring for some input types -->
<script src="../node_modules/focus-visible/dist/focus-visible.js" defer></script>

<!-- 💁 OPTIONAL: Include prismatic.js for Magic Leap support -->
<!--<script src="../node_modules/@magicleap/prismatic/prismatic.min.js"></script>-->

</head>
<body>

Expand Down
4 changes: 0 additions & 4 deletions packages/modelviewer.dev/examples/augmented-reality.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@

<!-- 💁 OPTIONAL: The :focus-visible polyfill removes the focus ring for some input types -->
<script src="../node_modules/focus-visible/dist/focus-visible.js" defer></script>

<!-- 💁 OPTIONAL: Include prismatic.js for Magic Leap support -->
<script src="../node_modules/@magicleap/prismatic/prismatic.min.js"></script>

</head>
<body>

Expand Down
3 changes: 0 additions & 3 deletions packages/modelviewer.dev/examples/fuzzer.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@
<!-- 💁 OPTIONAL: The :focus-visible polyfill removes the focus ring for some input types -->
<script src="../node_modules/focus-visible/dist/focus-visible.js" defer></script>

<!-- 💁 OPTIONAL: Include prismatic.js for Magic Leap support -->
<!--<script src="../node_modules/@magicleap/prismatic/prismatic.min.js"></script>-->

<style>
#controls-container {
text-align: center;
Expand Down
3 changes: 0 additions & 3 deletions packages/modelviewer.dev/examples/lazy-loading.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@

<!-- 💁 OPTIONAL: The :focus-visible polyfill removes the focus ring for some input types -->
<script src="../node_modules/focus-visible/dist/focus-visible.js" defer></script>

<!-- 💁 OPTIONAL: Include prismatic.js for Magic Leap support -->
<!--<script src="../node_modules/@magicleap/prismatic/prismatic.min.js"></script>-->
<style>
#button-load {
background-image: url(../assets/ic_get_app_white_24dp.svg);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@
<!-- 💁 OPTIONAL: The :focus-visible polyfill removes the focus ring for some input types -->
<script src="../node_modules/focus-visible/dist/focus-visible.js" defer></script>

<!-- 💁 OPTIONAL: Include prismatic.js for Magic Leap support -->
<!--<script src="../node_modules/@magicleap/prismatic/prismatic.min.js"></script>-->

<script>
window.oscillate = function(min, max, period, time) {
const mag = max - min;
Expand Down
3 changes: 0 additions & 3 deletions packages/modelviewer.dev/examples/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@
<!-- 💁 OPTIONAL: The :focus-visible polyfill removes the focus ring for some input types -->
<script src="../node_modules/focus-visible/dist/focus-visible.js" defer></script>

<!-- 💁 OPTIONAL: Include prismatic.js for Magic Leap support -->
<!--<script src="../node_modules/@magicleap/prismatic/prismatic.min.js"></script>-->

</head>
<body>

Expand Down
3 changes: 0 additions & 3 deletions packages/modelviewer.dev/examples/model-formats.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@
<!-- 💁 OPTIONAL: The :focus-visible polyfill removes the focus ring for some input types -->
<script src="../node_modules/focus-visible/dist/focus-visible.js" defer></script>

<!-- 💁 OPTIONAL: Include prismatic.js for Magic Leap support -->
<!--<script src="../node_modules/@magicleap/prismatic/prismatic.min.js"></script>-->

</head>
<body>

Expand Down
3 changes: 0 additions & 3 deletions packages/modelviewer.dev/examples/multiple-elements.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@
<!-- 💁 OPTIONAL: The :focus-visible polyfill removes the focus ring for some input types -->
<script src="../node_modules/focus-visible/dist/focus-visible.js" defer></script>

<!-- 💁 OPTIONAL: Include prismatic.js for Magic Leap support -->
<!--<script src="../node_modules/@magicleap/prismatic/prismatic.min.js"></script>-->

<style>
.demo {
height: 100vh;
Expand Down
3 changes: 0 additions & 3 deletions packages/modelviewer.dev/examples/rendering-showcase.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@
<!-- 💁 OPTIONAL: The :focus-visible polyfill removes the focus ring for some input types -->
<script src="../node_modules/focus-visible/dist/focus-visible.js" defer></script>

<!-- 💁 OPTIONAL: Include prismatic.js for Magic Leap support -->
<!--<script src="../node_modules/@magicleap/prismatic/prismatic.min.js"></script>-->

<style>
.grid {
width: 100%;
Expand Down
Loading

0 comments on commit d0e57d8

Please sign in to comment.