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

pit-js

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pit-js - npm Package Compare versions

Comparing version 1.8.0 to 1.8.1

10

examples/build/PIT.js

@@ -98,2 +98,3 @@ 'use strict';

this.elapsed_time_since_pressed = 0;
this.click_triggered = false;
}

@@ -117,3 +118,3 @@

{
return (new Date() - this.elapsed_time_since_pressed) < 110
return this.click_triggered;
}

@@ -154,2 +155,3 @@

this.left_mouse_button_down = false;
this.click_triggered = (new Date() - this.elapsed_time_since_pressed) < 110;
break;

@@ -264,2 +266,3 @@ case 1:

this.elapsed_time_since_pressed = 0;
this.click_triggered = false;
}

@@ -584,2 +587,3 @@ }

this.elapsed_time_since_pressed = 0;
this.click_triggered = false;

@@ -590,3 +594,3 @@ }

{
return (new Date() - this.elapsed_time_since_pressed) < 110
return this.click_triggered;
}

@@ -786,2 +790,3 @@

this.left_mouse_button_down = false;
this.click_triggered = (new Date() - this.elapsed_time_since_pressed) < 110;
}

@@ -840,2 +845,3 @@ this.remove_pointer(p.id);

this.elapsed_time_since_pressed = 0;
this.click_triggered = false;
}

@@ -842,0 +848,0 @@ }

@@ -94,2 +94,3 @@ class MathUtilities

this.elapsed_time_since_pressed = 0;
this.click_triggered = false;
}

@@ -113,3 +114,3 @@

{
return (new Date() - this.elapsed_time_since_pressed) < 110
return this.click_triggered;
}

@@ -150,2 +151,3 @@

this.left_mouse_button_down = false;
this.click_triggered = (new Date() - this.elapsed_time_since_pressed) < 110;
break;

@@ -260,2 +262,3 @@ case 1:

this.elapsed_time_since_pressed = 0;
this.click_triggered = false;
}

@@ -580,2 +583,3 @@ }

this.elapsed_time_since_pressed = 0;
this.click_triggered = false;

@@ -586,3 +590,3 @@ }

{
return (new Date() - this.elapsed_time_since_pressed) < 110
return this.click_triggered;
}

@@ -782,2 +786,3 @@

this.left_mouse_button_down = false;
this.click_triggered = (new Date() - this.elapsed_time_since_pressed) < 110;
}

@@ -836,2 +841,3 @@ this.remove_pointer(p.id);

this.elapsed_time_since_pressed = 0;
this.click_triggered = false;
}

@@ -838,0 +844,0 @@ }

2

package.json
{
"name": "pit-js",
"version": "1.8.0",
"version": "1.8.1",
"description": "Pollable Input",

@@ -5,0 +5,0 @@ "module": "examples/build/PIT.module.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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