Adding alternate keyword for adaptor as adapter
This commit is contained in:
parent
4f81ca355a
commit
a5923a9d8e
|
@ -120,7 +120,8 @@ Robot.prototype.connection = function(name, conn) {
|
||||||
str += "Renaming '" + original + "' to '" + conn.name + "'";
|
str += "Renaming '" + original + "' to '" + conn.name + "'";
|
||||||
this.log(str);
|
this.log(str);
|
||||||
}
|
}
|
||||||
|
if('adapter' in conn)
|
||||||
|
conn['adaptor'] = conn['adapter'];
|
||||||
this.connections[conn.name] = initializer("adaptor", conn);
|
this.connections[conn.name] = initializer("adaptor", conn);
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
|
|
Loading…
Reference in New Issue