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

rc-hammerjs

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-hammerjs - npm Package Compare versions

Comparing version 0.6.3 to 0.6.4

2

es/Hammer.js

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

if (directionProp || props.hasOwnProperty('vertical')) {
direction = directionProp ? directionProp : props.vertical ? 'DIRECTION_ALL' : 'DIRECTION_HORIZONTAL';
var direction = directionProp ? directionProp : props.vertical ? 'DIRECTION_ALL' : 'DIRECTION_HORIZONTAL';
hammer.get('pan').set({ direction: _hammerjs2['default'][direction] });

@@ -97,0 +97,0 @@ hammer.get('swipe').set({ direction: _hammerjs2['default'][direction] });

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

if (directionProp || props.hasOwnProperty('vertical')) {
direction = directionProp ? directionProp : props.vertical ? 'DIRECTION_ALL' : 'DIRECTION_HORIZONTAL';
var direction = directionProp ? directionProp : props.vertical ? 'DIRECTION_ALL' : 'DIRECTION_HORIZONTAL';
hammer.get('pan').set({ direction: _hammerjs2['default'][direction] });

@@ -97,0 +97,0 @@ hammer.get('swipe').set({ direction: _hammerjs2['default'][direction] });

{
"name": "rc-hammerjs",
"version": "0.6.3",
"version": "0.6.4",
"description": "ReactJS / HammerJS integration. Support touch events in your React app.",

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

@@ -17,3 +17,3 @@ rc-hammerjs

```
npm install react-hammerjs --save
npm install rc-hammerjs --save
```

@@ -60,3 +60,3 @@

```
var Hammer = require('react-hammerjs');
var Hammer = require('rc-hammerjs');

@@ -63,0 +63,0 @@ // Default options

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