diff --git a/README.markdown b/README.markdown index 0247ba7..b759328 100644 --- a/README.markdown +++ b/README.markdown @@ -244,6 +244,8 @@ on the [https://github.com/hybridgroup/cylon-site](https://github.com/hybridgrou ## Release History +Version 0.15.1 - Fixed issue with the API on Tessel + Version 0.15.0 - Better halting, cleaner startup, removed 'connect' and 'start' events, and misc other cleanups/refactors. diff --git a/lib/cylon.js b/lib/cylon.js index 024a945..bc62d5b 100644 --- a/lib/cylon.js +++ b/lib/cylon.js @@ -10,8 +10,7 @@ var Async = require('async'); -var API = require('./api'), - Logger = require('./logger'), +var Logger = require('./logger'), Robot = require('./robot'), Utils = require('./utils'); @@ -60,6 +59,8 @@ Cylon.api = function api(opts) { opts = {}; } + var API = require('./api'); + this.api_instance = new API(opts); this.api_instance.listen(); }; diff --git a/package.json b/package.json index 20af39b..ecf41be 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cylon", - "version": "0.15.0", + "version": "0.15.1", "main": "lib/cylon.js", "description": "A JavaScript robotics framework using Node.js", "homepage": "http://cylonjs.com",