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

cardboard-vr-display

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cardboard-vr-display - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

package.json
{
"name": "cardboard-vr-display",
"version": "1.0.5",
"version": "1.0.6",
"homepage": "https://github.com/immersive-web/cardboard-vr-display",

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

@@ -25,2 +25,5 @@ /*

var raf = window.requestAnimationFrame;
var caf = window.cancelAnimationFrame;
/**

@@ -150,7 +153,7 @@ * The base class for all VR frame data.

VRDisplay.prototype.requestAnimationFrame = function(callback) {
return window.requestAnimationFrame(callback);
return raf(callback);
};
VRDisplay.prototype.cancelAnimationFrame = function(id) {
return window.cancelAnimationFrame(id);
return caf(id);
};

@@ -157,0 +160,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