Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

webvr-polyfill

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webvr-polyfill - npm Package Compare versions

Comparing version 0.9.14 to 0.9.15

2

package.json
{
"name": "webvr-polyfill",
"version": "0.9.14",
"version": "0.9.15",
"homepage": "https://github.com/borismus/webvr-polyfill",

@@ -5,0 +5,0 @@ "authors": [

@@ -191,3 +191,5 @@ /*

if (screen.orientation && screen.orientation.lock) {
screen.orientation.lock('landscape-primary');
screen.orientation.lock('landscape-primary').catch(function(error){
console.error('screen.orientation.lock() failed due to', error.message)
});
}

@@ -194,0 +196,0 @@ self.waitingForPresent_ = false;

@@ -228,2 +228,6 @@ /*

// Size the CSS canvas.
// Added padding on right and bottom because iPhone 5 will not
// hide the URL bar unless content is bigger than the screen.
// This will not be visible as long as the container element (e.g. body)
// is set to 'overflow: hidden'.
var cssProperties = [

@@ -237,3 +241,3 @@ 'position: absolute',

'margin: 0',
'padding: 0',
'padding: 0 10px 10px 0',
];

@@ -240,0 +244,0 @@ gl.canvas.setAttribute('style', cssProperties.join('; ') + ';');

@@ -107,6 +107,6 @@ /*

if (Util.isIOS()) {
console.warn('Using fallback Android device measurements.');
console.warn('Using fallback iOS device measurements.');
return DEFAULT_IOS;
} else {
console.warn('Using fallback iOS device measurements.');
console.warn('Using fallback Android device measurements.');
return DEFAULT_ANDROID;

@@ -113,0 +113,0 @@ }

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc