hookio/hook.io — Issue #106: Emitting "foo::*" makes hookio crash
Author: ejeklint
Created: 2011-10-11 07:00:36+00:00
State: open

Tried emitting `hook.emit('noise::*');` with hook-repl and that crashes hook.io 0.7.7 with

```
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Cannot read property 'length' of undefined
at Object.urlParse [as parse] (url.js:94:27)
at Object. (/usr/local/lib/node_modules/hook.io-repl/node_modules/hook.io/node_modules/npm/lib/utils/get-agent.js:16:20)
at Module._compile (module.js:411:26)
at Object..js (module.js:417:10)
at Module.load (module.js:343:31)
at Function._load (module.js:302:12)
at require (module.js:355:19)
at Object. (/usr/local/lib/node_modules/hook.io-repl/node_modules/hook.io/node_modules/npm/lib/utils/fetch.js:13:16)
at Module._compile (module.js:411:26)
at Object..js (module.js:417:10)
```