Remove #Robot export, config option is now
This commit is contained in:
parent
75c8d47676
commit
f029438c19
|
@ -21,7 +21,6 @@ var Cylon = module.exports = {
|
|||
Logger: Logger,
|
||||
Driver: require('./driver'),
|
||||
Adaptor: require('./adaptor'),
|
||||
Robot: Robot,
|
||||
Utils: Utils,
|
||||
|
||||
IO: {
|
||||
|
@ -104,7 +103,7 @@ Cylon.config = function(opts) {
|
|||
Cylon.halt = function halt(callback) {
|
||||
callback = callback || function() {}
|
||||
// if robots can't shut down quickly enough, forcefully self-terminate
|
||||
var timeout = Config.halt_timeout || 3000
|
||||
var timeout = Config.haltTimeout || 3000
|
||||
Utils.after(timeout, callback);
|
||||
|
||||
var fns = [];
|
||||
|
|
Loading…
Reference in New Issue