Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
same as previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Burnett01 committed Sep 20, 2016
1 parent 377abd4 commit 10d6938
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/API.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,14 @@ API = (function(superClass) {
results = [];
for (k = 0, len1 = ref.length; k < len1; k++) {
instance = ref[k];
if ((instance.server.tls != null) && typeof notls === 'boolean' && notls === true) {
continue;
}
if (typeof notls !== 'boolean') {
if (typeof notls === 'boolean') {
if ((instance.server.tls != null) && notls === true) {
continue;
}
} else if (typeof notls !== 'boolean' || notls === false) {
args.push(notls);
results.push(instance[type].apply(instance, args));
} else {
results.push(void 0);
}
results.push(instance[type].apply(instance, args));
}
return results;
};
Expand Down

0 comments on commit 10d6938

Please sign in to comment.