Stop using #fetch here for now, it just breaks tests

This commit is contained in:
Andrew Stewart 2014-06-24 10:37:59 -07:00
parent 5974eb80cd
commit 5ce0d37640
1 changed files with 3 additions and 3 deletions

View File

@ -22,9 +22,9 @@ var Basestar = require('./basestar'),
var Driver = module.exports = function Driver(opts) {
opts = opts || {};
this.name = Utils.fetch(opts, 'name');
this.device = Utils.fetch(opts, 'device');
this.connection = Utils.fetch(this.device, 'connection');
this.name = opts.name;
this.device = opts.device;
this.connection = this.device.connection;
};
Utils.subclass(Driver, Basestar);