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

anima-yocto-event

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

anima-yocto-event - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

4

HISTORY.md

@@ -5,2 +5,6 @@ # History

## 2.0.4
`change` 去除原anima-yocto-touch的逻辑
## 2.0.3

@@ -7,0 +11,0 @@

3

package.json
{
"name": "anima-yocto-event",
"version": "2.0.3",
"version": "2.0.4",
"description": "the event from yocto",

@@ -10,3 +10,2 @@ "keywords": [

],
"homepage": "",
"author": "yuanfei.gyf@alibaba-inc.com",

@@ -13,0 +12,0 @@ "repository": {

@@ -53,16 +53,2 @@ var $ = require('anima-yocto-core');

handler.proxy = function(e){
//Android下如果同时存在tap逻辑并且事件类型为click,阻止浏览器自己触发的点击事件
if (navigator.userAgent.toLowerCase().indexOf('android') > -1 && $.gestures && $.gestures.tap && handler.e === 'click' && !e.animaClick) {
if (e.stopImmediatePropagation) {
e.stopImmediatePropagation();
} else {
e.propagationStopped = true;
}
e.stopPropagation()
e.preventDefault()
return false
}
e = compatible(e)

@@ -69,0 +55,0 @@ if (e.isImmediatePropagationStopped()) return

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