Skip to content

Commit

Permalink
fix: replace node EventEmitter with EventEmitter3
Browse files Browse the repository at this point in the history
  • Loading branch information
henri-hulski authored and Guria committed Nov 10, 2016
1 parent 474b229 commit 815f37f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* global history */

var URL = require('url-parse')
var EventEmitter = require('events').EventEmitter
var EventEmitter = require('eventemitter3').EventEmitter
var instance = null

// Check if IE history polyfill is added
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"webpack": "^1.12.1"
},
"dependencies": {
"eventemitter3": "^2.0.2",
"url-parse": "^1.0.5"
},
"config": {
Expand Down

0 comments on commit 815f37f

Please sign in to comment.