subscribe-ui-event
Advanced tools
Comparing version 2.0.4 to 2.0.5
@@ -10,3 +10,3 @@ /** | ||
const IS_CLIENT = typeof window !== 'undefined'; | ||
var IS_CLIENT = typeof window !== 'undefined'; | ||
@@ -19,4 +19,4 @@ function warn() { | ||
export const listen = IS_CLIENT ? listenLib : warn; | ||
export const subscribe = IS_CLIENT ? subscribeLib : warn; | ||
export const unsubscribe = IS_CLIENT ? unsubscribeLib : warn; | ||
export var listen = IS_CLIENT ? listenLib : warn; | ||
export var subscribe = IS_CLIENT ? subscribeLib : warn; | ||
export var unsubscribe = IS_CLIENT ? unsubscribeLib : warn; |
{ | ||
"name": "subscribe-ui-event", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "A single, throttle built-in solution to subscribe to browser UI Events.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
50310