Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bundle promise polyfill for IE11 #274

Merged
merged 2 commits into from
Jan 2, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"transform-es3-property-literals",
"transform-es3-member-expression-literals",
"transform-object-assign",
"es6-promise"
"es6-promise-esm"
]
}

27 changes: 26 additions & 1 deletion demo/common/css/demo.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ header {
header h1 {
font-family: 'Zilla Slab', serif;
font-weight: bold;
margin: 30px 0;
margin: 45px 0 30px;
text-align: center;
font-size: 60px;
word-break: break-word;
Expand Down Expand Up @@ -220,3 +220,28 @@ p.info img {
border: 0;
background-size: 100% 100%;
}

header .home {
margin: 0;
font-size: 26px;
background-repeat: no-repeat;
width: 198px;
height: 27px;
position: absolute;
text-align: left;
}

.home img.egjs_logo{
width: 34px;
display: block;
margin-bottom: -8px;
}

.home a {
font-family: 'Zilla Slab', serif;
line-height: 40px;
letter-spacing: -0.8px;
text-decoration: none;
display: inline-block;
color: #2B2B2B;
}
6 changes: 6 additions & 0 deletions demo/examples/panoviewer/controls/change_direction.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@

<body>
<header>
<div class="home">
<a href="../../../panoviewer.html">
<img class="egjs_logo" src="./../../../common/img/type_black.svg">
PanoViewer
</a><!--//logo-->
</div>
<h1>Change direction</h1>
<div class="infos">
<p class="info">
Expand Down
6 changes: 6 additions & 0 deletions demo/examples/panoviewer/controls/custom-control.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@
</head>
<body>
<header>
<div class="home">
<a href="../../../panoviewer.html">
<img class="egjs_logo" src="./../../../common/img/type_black.svg">
PanoViewer
</a><!--//logo-->
</div>
<h1>Custom Control</h1>
<div class="icon">
<svg class="feather feather-chevron-left sc-dnqmqq jxshSx" xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="15 18 9 12 15 6"></polyline></svg>
Expand Down
6 changes: 6 additions & 0 deletions demo/examples/panoviewer/controls/doc-embeded.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,12 @@
</head>
<body>
<header>
<div class="home">
<a href="../../../panoviewer.html">
<img class="egjs_logo" src="./../../../common/img/type_black.svg">
PanoViewer
</a><!--//logo-->
</div>
<h1>Document Embeded - Scroll</h1>
<div class="icon">
<p></p>
Expand Down
6 changes: 6 additions & 0 deletions demo/examples/panoviewer/controls/keyboard-wheel.html
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,12 @@

<body>
<header>
<div class="home">
<a href="../../../panoviewer.html">
<img class="egjs_logo" src="./../../../common/img/type_black.svg">
PanoViewer
</a><!--//logo-->
</div>
<h1>Direction key & Wheel Zoom</h1>
<ul class="icon">
<li class="input-item WheelInput">
Expand Down
6 changes: 6 additions & 0 deletions demo/examples/panoviewer/controls/motion-touch.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@
</head>
<body>
<header>
<div class="home">
<a href="../../../panoviewer.html">
<img class="egjs_logo" src="./../../../common/img/type_black.svg">
PanoViewer
</a><!--//logo-->
</div>
<h1>Device Motion (Gyro Mode) & Touch</h1>
<div class="icon">
<div class="phone"></div>
Expand Down
6 changes: 6 additions & 0 deletions demo/examples/panoviewer/controls/setting_initial_view.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@

<body>
<header>
<div class="home">
<a href="../../../panoviewer.html">
<img class="egjs_logo" src="./../../../common/img/type_black.svg">
PanoViewer
</a><!--//logo-->
</div>
<h1>Setting the initial view</h1>
<div class="infos">
<p class="info">
Expand Down
6 changes: 6 additions & 0 deletions demo/examples/panoviewer/etc/hotspot.html
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,12 @@
<body>
<div class="qrcode"></div>
<header>
<div class="home">
<a href="../../../panoviewer.html">
<img class="egjs_logo" src="./../../../common/img/type_black.svg">
PanoViewer
</a><!--//logo-->
</div>
<h1>HotSpot</h1>
<div class="icon">
<div class="earth">
Expand Down
6 changes: 6 additions & 0 deletions demo/examples/panoviewer/etc/loading_indicator.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@

<body>
<header>
<div class="home">
<a href="../../../panoviewer.html">
<img class="egjs_logo" src="./../../../common/img/type_black.svg">
PanoViewer
</a><!--//logo-->
</div>
<h1>view360 with Loading Indicator</h1>
<div class="icon">
<span class="dot"></span><span class="dot"></span><span class="dot"></span>
Expand Down
6 changes: 6 additions & 0 deletions demo/examples/panoviewer/etc/partial_panorama.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@

<body>
<header>
<div class="home">
<a href="../../../panoviewer.html">
<img class="egjs_logo" src="./../../../common/img/type_black.svg">
PanoViewer
</a><!--//logo-->
</div>
<h1>360 Image<br/>(partial 270°)</h1>
<div class="icon">
<div class="d180"></div>
Expand Down
6 changes: 6 additions & 0 deletions demo/examples/panoviewer/etc/responsive.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,12 @@

<body>
<header>
<div class="home">
<a href="../../../panoviewer.html">
<img class="egjs_logo" src="./../../../common/img/type_black.svg">
PanoViewer
</a><!--//logo-->
</div>
<h1>Responsive</h1>
<div class="icon">
<div class="resizer">
Expand Down
6 changes: 6 additions & 0 deletions demo/examples/panoviewer/etc/synchronize.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
</head>
<body>
<header>
<div class="home">
<a href="../../../panoviewer.html">
<img class="egjs_logo" src="./../../../common/img/type_black.svg">
PanoViewer
</a><!--//logo-->
</div>
<h1>Synchronize</h1>
</header>
<h2>Synchronize the directions of the two contents.</h2>
Expand Down
6 changes: 6 additions & 0 deletions demo/examples/panoviewer/etc/videojs.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,12 @@

<body>
<header>
<div class="home">
<a href="../../../panoviewer.html">
<img class="egjs_logo" src="./../../../common/img/type_black.svg">
PanoViewer
</a><!--//logo-->
</div>
<h1>Video.js with view360</h1>
<div class="icon">
<div class="videojs">
Expand Down
6 changes: 6 additions & 0 deletions demo/examples/panoviewer/projection-type/cubemap_image.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@

<body>
<header>
<div class="home">
<a href="../../../panoviewer.html">
<img class="egjs_logo" src="./../../../common/img/type_black.svg">
PanoViewer
</a><!--//logo-->
</div>
<h1>3x2 Cubemap</h1>
</header>
<h2>Support variety cubemap format</h2>
Expand Down
6 changes: 6 additions & 0 deletions demo/examples/panoviewer/projection-type/cubemap_video.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@

<body>
<header>
<div class="home">
<a href="../../../panoviewer.html">
<img class="egjs_logo" src="./../../../common/img/type_black.svg">
PanoViewer
</a><!--//logo-->
</div>
<h1>Cubemap 3 x 2 Video </h1>
</header>
<h2>Support variety cubemap format</h2>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@

<body>
<header>
<div class="home">
<a href="../../../panoviewer.html">
<img class="egjs_logo" src="./../../../common/img/type_black.svg">
PanoViewer
</a><!--//logo-->
</div>
<h1>3x2 CubeStrip Image</h1>
</header>
<h2>Support variety cubestrip format</h2>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@

<body>
<header>
<div class="home">
<a href="../../../panoviewer.html">
<img class="egjs_logo" src="./../../../common/img/type_black.svg">
PanoViewer
</a><!--//logo-->
</div>
<h1>Equirectangular Image</h1>
</header>
<h2>Supports the most common 360 formats.</h2>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@

<body>
<header>
<div class="home">
<a href="../../../panoviewer.html">
<img class="egjs_logo" src="./../../../common/img/type_black.svg">
PanoViewer
</a><!--//logo-->
</div>
<h1>Video Tag (Equirectangular)</h1>
</header>
<h2>Loads video by video tag</h2>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@

<body>
<header>
<div class="home">
<a href="../../../panoviewer.html">
<img class="egjs_logo" src="./../../../common/img/type_black.svg">
PanoViewer
</a><!--//logo-->
</div>
<h1>Video URL (Equirectangular)</h1>
</header>
<h2>Loads video by URL</h2>
Expand Down
6 changes: 6 additions & 0 deletions demo/examples/panoviewer/projection-type/panorama_image.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@

<body>
<header>
<div class="home">
<a href="../../../panoviewer.html">
<img class="egjs_logo" src="./../../../common/img/type_black.svg">
PanoViewer
</a><!--//logo-->
</div>
<h1>Smartphone Panorama</h1>
</header>
<!--https://icons8.com/icon/set/panorama-view/ios-->
Expand Down
6 changes: 6 additions & 0 deletions demo/examples/panoviewer/projection-type/stereoequi.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
</head>
<body>
<header>
<div class="home">
<a href="../../../panoviewer.html">
<img class="egjs_logo" src="./../../../common/img/type_black.svg">
PanoViewer
</a><!--//logo-->
</div>
<h1>Stereoscopic</h1>
</header>
<!-- <div class="icon" style='background-image: url("./img/stereoequi.png");background-size:100px'> -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@

<body>
<header>
<div class="home">
<a href="../../../panoviewer.html">
<img class="egjs_logo" src="./../../../common/img/type_black.svg">
PanoViewer
</a><!--//logo-->
</div>
<h1>Customized Cubemap</h1>
</header>

Expand Down
6 changes: 6 additions & 0 deletions demo/examples/panoviewer/projection-type/youtube.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
</head>
<body>
<header>
<div class="home">
<a href="../../../panoviewer.html">
<img class="egjs_logo" src="./../../../common/img/type_black.svg">
PanoViewer
</a><!--//logo-->
</div>
<h1>Youtube (EAC Format)</h1>
</header>
<div class="icon">
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.4",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-es6-promise": "^1.1.1",
"babel-plugin-es6-promise-esm": "^1.1.1",
"babel-plugin-no-side-effect-class-properties": "0.0.4",
"babel-plugin-transform-es3-member-expression-literals": "^6.22.0",
"babel-plugin-transform-es3-property-literals": "^6.22.0",
Expand Down