Skip to content

Commit

Permalink
Remove promise-polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic100 committed Nov 9, 2021
1 parent b29f304 commit 83392ad
Show file tree
Hide file tree
Showing 13 changed files with 1 addition and 16 deletions.
4 changes: 0 additions & 4 deletions docs/guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,9 @@ You can also [download the latest release](https://github.com/mistic100/Photo-Sp

## Dependencies

#### Required
* [three.js](https://threejs.org) (use `build/three.min.js` file)
* [uEvent 2](https://github.com/mistic100/uEvent) (use `browser.js` file)

#### Optional
* [promise-polyfill](https://github.com/taylorhakes/promise-polyfill) for IE compatibility (use `dist/polyfill.min.js` file)


## Your first viewer

Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/plugin-compass.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const viewer = new PhotoSphereViewer.Viewer({

## Example

TODO
<iframe style="width: 100%; height: 500px;" src="//jsfiddle.net/mistic100/efpdoak2/embedded/result,js,html/dark" allowfullscreen="allowfullscreen" frameborder="0"></iframe>

::: tip
The north is always at longitude=0, if you need to change where is the north you can use `panoData.poseHeading` or `sphereCorrection.pan` option.
Expand Down
1 change: 0 additions & 1 deletion example/components.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ <h1>Custom panel</h1>
</script>

<script src="../node_modules/three/build/three.js"></script>
<script src="../node_modules/promise-polyfill/dist/polyfill.js"></script>
<script src="../node_modules/uevent/browser.js"></script>
<script src="../dist/photo-sphere-viewer.js"></script>

Expand Down
1 change: 0 additions & 1 deletion example/cubemap.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
<div id="photosphere"></div>

<script src="../node_modules/three/build/three.js"></script>
<script src="../node_modules/promise-polyfill/dist/polyfill.js"></script>
<script src="../node_modules/uevent/browser.js"></script>
<script src="../node_modules/nosleep.js/dist/NoSleep.js"></script>
<script src="../dist/photo-sphere-viewer.js"></script>
Expand Down
1 change: 0 additions & 1 deletion example/equirectangular-tiles.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
<div id="photosphere"></div>

<script src="../node_modules/three/build/three.js"></script>
<script src="../node_modules/promise-polyfill/dist/polyfill.js"></script>
<script src="../node_modules/uevent/browser.js"></script>
<script src="../dist/photo-sphere-viewer.js"></script>
<script src="../dist/adapters/equirectangular-tiles.js"></script>
Expand Down
1 change: 0 additions & 1 deletion example/equirectangular.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
<div id="photosphere"></div>

<script src="../node_modules/three/build/three.js"></script>
<script src="../node_modules/promise-polyfill/dist/polyfill.js"></script>
<script src="../node_modules/uevent/browser.js"></script>
<script src="../node_modules/nosleep.js/dist/NoSleep.js"></script>
<script src="../dist/photo-sphere-viewer.js"></script>
Expand Down
1 change: 0 additions & 1 deletion example/plugin-autorotate-keypoints.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
<div id="photosphere"></div>

<script src="../node_modules/three/build/three.js"></script>
<script src="../node_modules/promise-polyfill/dist/polyfill.js"></script>
<script src="../node_modules/uevent/browser.js"></script>
<script src="../dist/photo-sphere-viewer.js"></script>
<script src="../dist/plugins/autorotate-keypoints.js"></script>
Expand Down
1 change: 0 additions & 1 deletion example/plugin-compass.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
<div id="photosphere"></div>

<script src="../node_modules/three/build/three.js"></script>
<script src="../node_modules/promise-polyfill/dist/polyfill.js"></script>
<script src="../node_modules/uevent/browser.js"></script>
<script src="../dist/photo-sphere-viewer.js"></script>
<script src="../dist/plugins/markers.js"></script>
Expand Down
1 change: 0 additions & 1 deletion example/plugin-markers.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
<div id="photosphere"></div>

<script src="../node_modules/three/build/three.js"></script>
<script src="../node_modules/promise-polyfill/dist/polyfill.js"></script>
<script src="../node_modules/uevent/browser.js"></script>
<script src="../node_modules/nosleep.js/dist/NoSleep.js"></script>
<script src="../dist/photo-sphere-viewer.js"></script>
Expand Down
1 change: 0 additions & 1 deletion example/plugin-resolution.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
<div id="photosphere"></div>

<script src="../node_modules/three/build/three.js"></script>
<script src="../node_modules/promise-polyfill/dist/polyfill.js"></script>
<script src="../node_modules/uevent/browser.js"></script>
<script src="../dist/photo-sphere-viewer.js"></script>
<script src="../dist/plugins/settings.js"></script>
Expand Down
1 change: 0 additions & 1 deletion example/plugin-virtual-tour.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
<div id="photosphere"></div>

<script src="../node_modules/three/build/three.js"></script>
<script src="../node_modules/promise-polyfill/dist/polyfill.js"></script>
<script src="../node_modules/uevent/browser.js"></script>
<script src="../dist/photo-sphere-viewer.js"></script>
<script src="../dist/plugins/markers.js"></script>
Expand Down
1 change: 0 additions & 1 deletion example/plugin-visible-range.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
<div id="photosphere"></div>

<script src="../node_modules/three/build/three.js"></script>
<script src="../node_modules/promise-polyfill/dist/polyfill.js"></script>
<script src="../node_modules/uevent/browser.js"></script>
<script src="../dist/photo-sphere-viewer.js"></script>
<script src="../dist/plugins/visible-range.js"></script>
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@
"npm-run-all": "^4.1.3",
"postcss": "^8.3.6",
"postcss-banner": "^4.0.1",
"promise-polyfill": "^8.2.0",
"raw-loader": "^4.0.2",
"rollup": "^2.56.0",
"rollup-plugin-dts": "^4.0.0",
Expand Down

0 comments on commit 83392ad

Please sign in to comment.