Socket
Socket
Sign inDemoInstall

derby-templates

Package Overview
Dependencies
2
Maintainers
6
Versions
45
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.8.3 to 0.8.4

8

lib/templates.js

@@ -589,3 +589,9 @@ var saddle = require('saddle');

};
context.controller.dom.on(this.name, element, listener, false);
// Using `context.controller.dom.on` would be better for garbage collection,
// but since it synchronously removes listeners on component destroy, it would
// break existing code relying on `on-*` listeners firing as a component is
// being destroyed. Even with `addEventListener`, browsers should still GC
// the listeners once there are no references to the element.
element.addEventListener(this.name, listener, false);
// context.controller.dom.on(this.name, element, listener, false);
};

@@ -592,0 +598,0 @@ ElementOn.prototype.apply = function(context, element, event) {

2

package.json
{
"name": "derby-templates",
"version": "0.8.3",
"version": "0.8.4",
"main": "index.js",

@@ -5,0 +5,0 @@ "scripts": {

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