influxdb/influxdb-js — pull request #9 by hakobera (2014-04-21 14:16:33+00:00)
Title: Fix hosts default value

If `opts.host` and `opts.hosts` is not specified, InfluxDB.hosts set `[undefined]`.
This pull request fix this behavior.

You can reproduce the error by following code in browser's development console.
```
> var db = new InfluxDB();
> db.hosts
[undefined]
```