Tidy up listing for some nodes. No functional changes

to make listing task pass
This commit is contained in:
Dave Conway-Jones
2017-04-12 13:32:08 +01:00
parent 8abfd4841d
commit 38d16b8a4d
8 changed files with 32 additions and 32 deletions

View File

@@ -156,7 +156,7 @@ module.exports = function(RED) {
since_id:node.since_id
},function(err,cb) {
if (cb) {
for (var t=cb.length-1;t>=0;t-=1) {
for (var t=cb.length-1; t>=0; t-=1) {
var tweet = cb[t];
var where = tweet.sender.location;
var la = tweet.lang || tweet.sender.lang;
@@ -370,7 +370,7 @@ module.exports = function(RED) {
this.stream.destroy();
}
if (this.poll_ids) {
for (var i=0;i<this.poll_ids.length;i++) {
for (var i=0; i<this.poll_ids.length; i++) {
clearInterval(this.poll_ids[i]);
}
}