@pelagiccreatures/sargasso
Advanced tools
Comparing version 0.8.4 to 0.8.5
@@ -136,7 +136,7 @@ /** | ||
on (evt, selector, fn, options) { | ||
elementTools.on(this.uid, this.element, evt, selector, fn, options) | ||
elementTools.on(this.constructor.name + '-' + this.uid, this.element, evt, selector, fn, options) | ||
} | ||
off (evt, selector, fn) { | ||
elementTools.off(this.uid, this.element, evt, selector, fn) | ||
elementTools.off(this.constructor.name + '-' + this.uid, this.element, evt, selector, fn) | ||
} | ||
@@ -143,0 +143,0 @@ |
@@ -91,4 +91,4 @@ /** | ||
const on = function (owner, container, events, selector, fn, options) { | ||
const k = 'on:' + owner + '-' + events + '-' + selector | ||
const on = function (uid, container, events, selector, fn, options) { | ||
const k = 'on:' + uid + '-' + events + '-' + selector | ||
@@ -116,4 +116,4 @@ const handler = (e) => { | ||
const off = function (owner, container, events, selector) { | ||
const k = 'on:' + owner + '-' + events + '-' + selector | ||
const off = function (uid, container, events, selector) { | ||
const k = 'on:' + uid + '-' + events + '-' + selector | ||
const handler = _getMetaData(container, k) | ||
@@ -120,0 +120,0 @@ if (handler) { |
{ | ||
"name": "@pelagiccreatures/sargasso", | ||
"version": "0.8.4", | ||
"description": "Simple, Fast, Reactive, supervised Javascript controllers for html elements.", | ||
"version": "0.8.5", | ||
"description": "Simple, Fast, Reactive, Supervised Javascript controllers for custom html elements.", | ||
"keywords": [ | ||
@@ -14,3 +14,5 @@ "javascript", | ||
"web app", | ||
"hijax" | ||
"hijax", | ||
"animation-frame", | ||
"custom-elements" | ||
], | ||
@@ -17,0 +19,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
538283
6545