@@ -27,25 +27,16 @@ Examples using both the minified version and the version in the `src` directory | |||||
## Browser Compatibility | ## Browser Compatibility | ||||
Since Pannellum is built with recent web standards, it requires a modern browser to function. | |||||
Since Pannellum is built with web standards, it requires a modern browser to function. | |||||
#### Full support (with appropriate graphics drivers): | #### Full support (with appropriate graphics drivers): | ||||
* Firefox 10+ | |||||
* Chrome 15+ | |||||
* Firefox 23+ | |||||
* Chrome 24+ | |||||
* Safari 8+ | * Safari 8+ | ||||
* Internet Explorer 11+ | * Internet Explorer 11+ | ||||
* Edge | * Edge | ||||
#### Almost full support (no full screen): | |||||
* Firefox 4+ | |||||
* Chrome 9+ | |||||
#### Partial support (WebGL support must first be enabled in preferences) | |||||
* Safari 5.1+ | |||||
#### No support: | |||||
Internet Explorer 10 and previous | |||||
The support list is based on feature support. As only recent browsers are tested, there may be regressions in older browsers. | |||||
#### Not officially supported: | #### Not officially supported: | ||||
@@ -1,22 +0,0 @@ | |||||
/** | |||||
* Provides requestAnimationFrame in a cross browser way. | |||||
* http://paulirish.com/2011/requestanimationframe-for-smart-animating/ | |||||
*/ | |||||
if ( !window.requestAnimationFrame ) { | |||||
window.requestAnimationFrame = ( function() { | |||||
return window.webkitRequestAnimationFrame || | |||||
window.mozRequestAnimationFrame || | |||||
window.oRequestAnimationFrame || | |||||
window.msRequestAnimationFrame || | |||||
function( /* function FrameRequestCallback */ callback, /* DOMElement Element */ element ) { | |||||
window.setTimeout( callback, 1000 / 60 ); | |||||
}; | |||||
} )(); | |||||
} |
@@ -16,7 +16,6 @@ | |||||
</noscript> | </noscript> | ||||
</div> | </div> | ||||
<script type="text/javascript" src="../js/libpannellum.js"></script> | <script type="text/javascript" src="../js/libpannellum.js"></script> | ||||
<script type="text/javascript" src="../js/RequestAnimationFrame.js"></script> | |||||
<script type="text/javascript" src="../js/pannellum.js"></script> | <script type="text/javascript" src="../js/pannellum.js"></script> | ||||
<script type="text/javascript" src="standalone.js"></script> | <script type="text/javascript" src="standalone.js"></script> | ||||
</body> | </body> | ||||
@@ -8,7 +8,6 @@ import urllib.parse | |||||
JS = [ | JS = [ | ||||
'js/libpannellum.js', | 'js/libpannellum.js', | ||||
'js/RequestAnimationFrame.js', | |||||
'js/pannellum.js', | 'js/pannellum.js', | ||||
] | ] | ||||
@@ -132,7 +131,6 @@ def build(files, css, html, filename, release=False): | |||||
html = merge(html) | html = merge(html) | ||||
html = html.replace('<link type="text/css" rel="Stylesheet" href="../css/pannellum.css"/>','<style type="text/css">' + standalone_css + '</style>') | html = html.replace('<link type="text/css" rel="Stylesheet" href="../css/pannellum.css"/>','<style type="text/css">' + standalone_css + '</style>') | ||||
html = html.replace('<script type="text/javascript" src="../js/libpannellum.js"></script>','') | html = html.replace('<script type="text/javascript" src="../js/libpannellum.js"></script>','') | ||||
html = html.replace('<script type="text/javascript" src="../js/RequestAnimationFrame.js"></script>','') | |||||
html = html.replace('<script type="text/javascript" src="../js/pannellum.js"></script>','<script type="text/javascript">' + standalone_js + '</script>') | html = html.replace('<script type="text/javascript" src="../js/pannellum.js"></script>','<script type="text/javascript">' + standalone_js + '</script>') | ||||
html = html.replace('<script type="text/javascript" src="standalone.js"></script>','') | html = html.replace('<script type="text/javascript" src="standalone.js"></script>','') | ||||
html = html.replace('<link type="text/css" rel="Stylesheet" href="standalone.css"/>', '') | html = html.replace('<link type="text/css" rel="Stylesheet" href="standalone.css"/>', '') | ||||