Skip to content

Commit

Permalink
quick hack to fix #5, want something better for this though
Browse files Browse the repository at this point in the history
  • Loading branch information
David Middlecamp committed Apr 28, 2014
1 parent edb42b1 commit 2bbdd58
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions js/commands/VariableCommand.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ VariableCommand.prototype = extend(BaseCommand.prototype, {
return when.resolve(this._cachedVariableList);
}

console.log("polling server to see what cores are online, and what variables are available");
console.error("polling server to see what cores are online, and what variables are available");

var tmp = when.defer();
var that = this;
Expand Down Expand Up @@ -276,9 +276,9 @@ VariableCommand.prototype = extend(BaseCommand.prototype, {

if (delay < settings.minimumApiDelay) {
delay = settings.minimumApiDelay;
console.log("Delay was too short, resetting to ", settings.minimumApiDelay);
console.error("Delay was too short, resetting to ", settings.minimumApiDelay);
}
console.log("Hit CTRL-C to stop!");
console.error("Hit CTRL-C to stop!");

var checkVariable = (function () {
var done = this.getValue(coreid, variableName);
Expand Down
4 changes: 2 additions & 2 deletions js/lib/ApiClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ ApiClient.prototype = {

//GET /v1/devices
listDevices: function () {
console.log("Retrieving cores... (this might take a few seconds)");
console.error("Retrieving cores... (this might take a few seconds)");

var dfd = when.defer();
var that = this;
Expand Down Expand Up @@ -500,7 +500,7 @@ ApiClient.prototype = {
return when.resolve(this._attributeCache);
}

console.log("polling server to see what cores are online, and what functions are available");
console.error("polling server to see what cores are online, and what functions are available");

var that = this;
var lookupAttributes = function (cores) {
Expand Down

0 comments on commit 2bbdd58

Please sign in to comment.