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

jquery-prototype-custom-event-bridge

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jquery-prototype-custom-event-bridge

Allow custom events in the format namespace:eventname to pass between Prototype and jQuery.

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
increased by250%
Maintainers
1
Weekly downloads
 
Created
Source

jQuery-prototype-custom-event-bridge

Test it here.

Allow custom events in the format namespace:eventname to pass between Prototype and jQuery.

Such custom events triggered by jQuery will hit Prototype observers (as well as jQuery listeners).

Such custom events triggered by Prototype will hit jQuery listeners (as well as Prototype observers).

The first element of the data array passed along by the jQuery trigger will be sent to the Prototype observer.

The memo data object passed along by the Prototype trigger will be encoded in the first element of the event data array received by the jQuery listener.

This drop-in also prevents jQuery's trigger implementation from executing any Prototype-contributed functions on an event target element that match the jQuery event type.

Installation

npm install jquery-prototype-custom-event-bridge

Keywords

FAQs

Package last updated on 03 Jun 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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