Skip to content

Commit

Permalink
Fix namespace not found issue (#51)
Browse files Browse the repository at this point in the history
* Fix namespace not found issue

* 2.0.1
  • Loading branch information
roderickhsiao authored and redonkulus committed May 13, 2018
1 parent 6286ac4 commit 00d0f84
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "subscribe-ui-event",
"version": "2.0.0",
"version": "2.0.1",
"description": "A single, throttle built-in solution to subscribe to browser UI Events.",
"main": "index.js",
"module": "index.es.js",
Expand Down
4 changes: 3 additions & 1 deletion src/lib/listen.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
*/

import assign from 'lodash/assign';
import { supportPassiveEvent } from '../globalVars';
import globalVars from '../globalVars';

const { supportPassiveEvent } = globalVars;

const defaultEventOption = {
capture: false,
Expand Down
4 changes: 3 additions & 1 deletion src/unsubscribe.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
* Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
*/

import { removers } from './globalVars';
import globalVars from './globalVars';

const { removers } = globalVars;

/**
* Unsubscribe to UI events.
Expand Down

0 comments on commit 00d0f84

Please sign in to comment.