You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

react-fastclick

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-fastclick - npm Package Compare versions

Comparing version

to
1.0.2

6

index.js

@@ -94,3 +94,3 @@ 'use strict';

// Get original click listener remove function
var removeOriginalListener = listen(target, eventType, onClick);
var originalListener = listen(target, eventType, onClick);

@@ -102,3 +102,5 @@ addListener(target, constants.touchstart, onTouchStart);

remove: function () {
removeOriginalListener();
if (originalListener && typeof originalListener.remove === 'function') {
originalListener.remove();
}
removeListener(target, constants.touchstart, onTouchStart);

@@ -105,0 +107,0 @@ }

{
"name": "react-fastclick",
"version": "1.0.1",
"version": "1.0.2",
"description": "Fast Touch Events for React",

@@ -5,0 +5,0 @@ "main": "index.js",

# React Fastclick
[![Build Status](https://travis-ci.org/JakeSidSmith/react-fastclick.svg?branch=master)](https://travis-ci.org/JakeSidSmith/react-fastclick)

@@ -3,0 +4,0 @@ **Instantly make your desktop / hybrid apps more responsive on touch devices.**