Skip to content

Commit 947f392

Browse files
author
AndreyGeonya
committed
fix jshint errors
1 parent 4803038 commit 947f392

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

‎src/data-structures/linked-list.js‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
* @member {Node}
6161
*/
6262
this.prev = null;
63-
}
63+
};
6464

6565
/**
6666
* Linked list.
@@ -71,7 +71,7 @@
7171
exports.LinkedList = function () {
7272
this.first = null;
7373
this.last = null;
74-
}
74+
};
7575

7676
/**
7777
* Add data to the end of linked list.
@@ -262,5 +262,4 @@
262262
this.last = temp;
263263
};
264264

265-
}(typeof exports === 'undefined' ? window : exports));
266-
265+
})(typeof window === 'undefined' ? module.exports : window);

‎src/data-structures/red-black-tree.js‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
global.Colors = Colors;
1414

15-
1615
/**
1716
* Represents given node in the tree.
1817
*

0 commit comments

Comments
 (0)