Socket
Socket
Sign inDemoInstall

backbone.touch

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.2 to 0.4.3

11

backbone.touch.js

@@ -64,2 +64,4 @@ // (c) 2012 Raymond Julin, Keyteq AS

);
// add the original event listener for devices with touch + mouse
this.$el.on(eventName, selector, method);
}

@@ -92,3 +94,2 @@ else {

// will stop propagation and prevent default
// for *button* and *a* elements
_touchHandler : function(e) {

@@ -112,8 +113,4 @@ var oe = e.originalEvent || e;

if (this.touchPrevents) {
var tagName = e.currentTarget.tagName;
if (tagName === 'BUTTON' ||
tagName === 'A') {
e.preventDefault();
e.stopPropagation();
}
e.preventDefault();
e.stopPropagation();
}

@@ -120,0 +117,0 @@ e.data.method(e);

{
"name": "backbone.touch",
"version": "0.4.2",
"main": "./backbone.touch.js",
"ignore": ["test/*"],
"dependencies": {
"backbone": ">=1.0.0"
}
"name": "backbone.touch",
"version": "0.4.3",
"main": "./backbone.touch.js",
"ignore": [
"test/*"
],
"dependencies": {
"backbone": ">=1.0.0"
}
}
{
"name": "backbone.touch",
"description": "Enable faster click events on touch devices for Backbone views.",
"version": "0.4.2",
"version": "0.4.3",
"homepage": "https://github.com/nervetattoo/backbone.touch",

@@ -6,0 +6,0 @@ "main": "backbone.touch.js",

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