Socket
Socket
Sign inDemoInstall

fastclick

Package Overview
Dependencies
0
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

2

bower.json
{
"name": "fastclick",
"version": "1.0.1",
"version": "1.0.2",
"main": "lib/fastclick.js",

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

/**
* @preserve FastClick: polyfill to remove click delays on browsers with touch UIs.
*
* @version 1.0.1
* @version 1.0.2
* @codingstandard ftlabs-jsv2

@@ -15,3 +15,3 @@ * @copyright The Financial Times Limited [All Rights Reserved]

/**
* Instantiate fast-clicking listeners on the specificed layer.
* Instantiate fast-clicking listeners on the specified layer.
*

@@ -747,3 +747,3 @@ * @constructor

// Chrome 32 and above with width=device-width or less don't need FastClick
if (chromeVersion > 31 && window.innerWidth <= window.screen.width) {
if (chromeVersion > 31 && document.documentElement.scrollWidth <= window.outerWidth) {
return true;

@@ -780,3 +780,3 @@ }

if (typeof define !== 'undefined' && define.amd) {
if (typeof define == 'function' && typeof define.amd == 'object' && define.amd) {

@@ -783,0 +783,0 @@ // AMD. Register as an anonymous module.

{
"name": "fastclick",
"version": "1.0.1",
"version": "1.0.2",
"description": "Polyfill to remove click delays on browsers with touch UIs.",

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

@@ -79,3 +79,3 @@ # FastClick #

Run `make` to build a minified version of FastClick using the Closure Compiler REST API. The minified file is saved to `build/fastclick.min.js`.
Run `make` to build a minified version of FastClick using the Closure Compiler REST API. The minified file is saved to `build/fastclick.min.js` or you can [download a pre-minified version](http://build.origami.ft.com/bundles/js?modules=fastclick).

@@ -82,0 +82,0 @@ ### AMD ###

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc