We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a623834 commit d666aa0Copy full SHA for d666aa0
1 file changed
index.js
@@ -6,7 +6,7 @@ function Client (options) {
6
7
if (!options.url) throw new Error('Missing url parameter')
8
9
- self.options = options
+ self.options = options || {}
10
self.url = options.url
11
12
// A stack of registered listeners
0 commit comments