subscribe-ui-event
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -99,7 +99,8 @@ /** | ||
var domId = domTarget && getHash(domTarget); | ||
var targetPart = domId ? ':' + domId : ''; | ||
var throttledStartEvent = mainEvent + 'Start:' + throttleRate; | ||
var throttledEndEvent = mainEvent + 'End:' + throttleRate; | ||
var throttledMainEvent = mainEvent + ':' + throttleRate + (domId ? ':' + domId : ''); | ||
var throttledEvent = event + ':' + throttleRate + (domId ? ':' + domId : ''); | ||
var throttledStartEvent = mainEvent + 'Start:' + throttleRate + targetPart; | ||
var throttledEndEvent = mainEvent + 'End:' + throttleRate + targetPart; | ||
var throttledMainEvent = mainEvent + ':' + throttleRate + targetPart; | ||
var throttledEvent = event + ':' + throttleRate + targetPart; | ||
@@ -106,0 +107,0 @@ var remover = connectThrottle(throttledEvent, cb, context, throttledMainEvent); |
{ | ||
"name": "subscribe-ui-event", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "A single, throttle built-in solution to subscribe to browser UI Events.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
36207
778