GeezerVison is showing github.com — merge: Format codebase with `standard.js` (#989) · Algorithms-Learn/JavaScript@eb36e2d
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: DIRECTORY.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
|
77 | 77 | * [CycleDetection](https://github.com/TheAlgorithms/Javascript/blob/master/Data-Structures/Linked-List/CycleDetection.js) |
78 | 78 | * [DoublyLinkedList](https://github.com/TheAlgorithms/Javascript/blob/master/Data-Structures/Linked-List/DoublyLinkedList.js) |
79 | 79 | * [RotateListRight](https://github.com/TheAlgorithms/Javascript/blob/master/Data-Structures/Linked-List/RotateListRight.js) |
80 | | - * [SingleCircularLinkedList](https://github.com/TheAlgorithms/Javascript/blob/master/Data-Structures/Linked-List/SingleCircularLinkedList.js.js) |
| 80 | + * [SinglyCircularLinkedList](https://github.com/TheAlgorithms/Javascript/blob/master/Data-Structures/Linked-List/SinglyCircularLinkedList.js) |
81 | 81 | * [SinglyLinkedList](https://github.com/TheAlgorithms/Javascript/blob/master/Data-Structures/Linked-List/SinglyLinkedList.js) |
82 | 82 | * Queue |
83 | 83 | * [CircularQueue](https://github.com/TheAlgorithms/Javascript/blob/master/Data-Structures/Queue/CircularQueue.js) |
|
Collapse file
Copy file name to clipboardExpand all lines: Data-Structures/Tree/Trie.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -18,7 +18,7 @@ function Trie () { |
18 | 18 | Trie.findAllWords = function (root, word, output) { |
19 | 19 | if (root === null) return |
20 | 20 | if (root.count > 0) { |
21 | | - if (typeof output === 'object') { output.push({ word: word, count: root.count }) } |
| 21 | + if (typeof output === 'object') { output.push({ word, count: root.count }) } |
22 | 22 | } |
23 | 23 | let key |
24 | 24 | for (key in root.children) { |
|
Collapse file
Copy file name to clipboardExpand all lines: Maths/test/EulerMethod.manual-test.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -18,7 +18,7 @@ function plotLine (label, points, width, height) { |
18 | 18 | type: 'scatter', |
19 | 19 | data: { |
20 | 20 | datasets: [{ |
21 | | - label: label, |
| 21 | + label, |
22 | 22 | data: points, |
23 | 23 | showLine: true, |
24 | 24 | fill: false, |
|
Collapse file
Copy file name to clipboardExpand all lines: Sorts/TopologicalSort.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -42,7 +42,7 @@ export function TopologicalSorter () { |
42 | 42 | } |
43 | 43 |
|
44 | 44 | finishingTimeList.push({ |
45 | | - node: node, |
| 45 | + node, |
46 | 46 | finishTime: ++finishTimeCount |
47 | 47 | }) |
48 | 48 | } |
|