From 83392addbc69409b063c81237f04aafcba541be4 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Tue, 9 Nov 2021 16:27:26 +0100 Subject: [PATCH] Remove promise-polyfill --- docs/guide/README.md | 4 ---- docs/plugins/plugin-compass.md | 2 +- example/components.html | 1 - example/cubemap.html | 1 - example/equirectangular-tiles.html | 1 - example/equirectangular.html | 1 - example/plugin-autorotate-keypoints.html | 1 - example/plugin-compass.html | 1 - example/plugin-markers.html | 1 - example/plugin-resolution.html | 1 - example/plugin-virtual-tour.html | 1 - example/plugin-visible-range.html | 1 - package.json | 1 - 13 files changed, 1 insertion(+), 16 deletions(-) diff --git a/docs/guide/README.md b/docs/guide/README.md index 500ab9258..93467803a 100644 --- a/docs/guide/README.md +++ b/docs/guide/README.md @@ -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 diff --git a/docs/plugins/plugin-compass.md b/docs/plugins/plugin-compass.md index 742ef9b53..a0517c35b 100644 --- a/docs/plugins/plugin-compass.md +++ b/docs/plugins/plugin-compass.md @@ -26,7 +26,7 @@ const viewer = new PhotoSphereViewer.Viewer({ ## Example -TODO + ::: 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. diff --git a/example/components.html b/example/components.html index 4870beb63..080fa4171 100644 --- a/example/components.html +++ b/example/components.html @@ -43,7 +43,6 @@

Custom panel

- diff --git a/example/cubemap.html b/example/cubemap.html index 006732756..b1bd178e2 100644 --- a/example/cubemap.html +++ b/example/cubemap.html @@ -34,7 +34,6 @@
- diff --git a/example/equirectangular-tiles.html b/example/equirectangular-tiles.html index 789a6764b..12906d4c1 100644 --- a/example/equirectangular-tiles.html +++ b/example/equirectangular-tiles.html @@ -28,7 +28,6 @@
- diff --git a/example/equirectangular.html b/example/equirectangular.html index 0dd46ae02..a89ec9dd7 100644 --- a/example/equirectangular.html +++ b/example/equirectangular.html @@ -33,7 +33,6 @@
- diff --git a/example/plugin-autorotate-keypoints.html b/example/plugin-autorotate-keypoints.html index 42ce4c007..241642895 100644 --- a/example/plugin-autorotate-keypoints.html +++ b/example/plugin-autorotate-keypoints.html @@ -29,7 +29,6 @@
- diff --git a/example/plugin-compass.html b/example/plugin-compass.html index 6710d42ad..da8ff05ee 100644 --- a/example/plugin-compass.html +++ b/example/plugin-compass.html @@ -30,7 +30,6 @@
- diff --git a/example/plugin-markers.html b/example/plugin-markers.html index 3f8a96a73..460eabe22 100644 --- a/example/plugin-markers.html +++ b/example/plugin-markers.html @@ -44,7 +44,6 @@
- diff --git a/example/plugin-resolution.html b/example/plugin-resolution.html index d658416ec..c10f20f58 100644 --- a/example/plugin-resolution.html +++ b/example/plugin-resolution.html @@ -29,7 +29,6 @@
- diff --git a/example/plugin-virtual-tour.html b/example/plugin-virtual-tour.html index 4d58ef581..9fe13c458 100644 --- a/example/plugin-virtual-tour.html +++ b/example/plugin-virtual-tour.html @@ -31,7 +31,6 @@
- diff --git a/example/plugin-visible-range.html b/example/plugin-visible-range.html index 3ce8ecf3f..d19a02f93 100644 --- a/example/plugin-visible-range.html +++ b/example/plugin-visible-range.html @@ -29,7 +29,6 @@
- diff --git a/package.json b/package.json index dd1e0037a..8394ba962 100644 --- a/package.json +++ b/package.json @@ -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",