diff --git a/README.markdown b/README.markdown index 110293b..3bf05b8 100644 --- a/README.markdown +++ b/README.markdown @@ -304,6 +304,8 @@ on the [https://github.com/hybridgroup/cylon-site](https://github.com/hybridgrou ## Release History +Version 0.20.1 - Revert accidental scrict handling of param in driver initializer + Version 0.20.0 - Browser support, new module loading, log level support, misc. development changes diff --git a/lib/driver.js b/lib/driver.js index 7867efa..472f9f6 100644 --- a/lib/driver.js +++ b/lib/driver.js @@ -25,7 +25,7 @@ var Driver = module.exports = function Driver(opts) { this.name = opts.name; this.device = opts.device; - this.connection = opts.connection; + this.connection = opts.device.connection; this.adaptor = this.connection.adaptor; this.interval = opts.interval || 10; diff --git a/package.json b/package.json index 0e2dc59..2c1de9d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cylon", - "version": "0.20.0", + "version": "0.20.1", "main": "lib/cylon.js", "description": "A JavaScript robotics framework for Node.js", "homepage": "http://cylonjs.com",