Skip to content

Commit 5004ad8

Browse files
committed
Clean code.
1 parent 431da67 commit 5004ad8

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2395,7 +2395,6 @@ Framework.prototype.websocket = function(url, funcInitialize, flags, length) {
23952395
*/
23962396
Framework.prototype.file = function(fnValidation, fnExecute, flags) {
23972397

2398-
var self = this;
23992398
var a;
24002399

24012400
if (fnValidation instanceof Array) {

utils.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2683,7 +2683,6 @@ String.prototype.parseTerminal = function(fields, fn, skip, take) {
26832683
if (take === undefined)
26842684
take = lines.length;
26852685

2686-
var output = [];
26872686
var headers = [];
26882687
var indexer = 0;
26892688
var line = lines[0];
@@ -4777,8 +4776,7 @@ Async.prototype.isWaiting = function(name) {
47774776
};
47784777

47794778
Async.prototype.isPending = function(name) {
4780-
var task = this.tasksPending[name];
4781-
return taks ? true : false;
4779+
return this.tasksPending[name] ? true : false;
47824780
};
47834781

47844782
Async.prototype.timeout = function(name, timeout) {

0 commit comments

Comments
 (0)