Skip to content

Commit c513859

Browse files
committed
Merge pull request #137 from nem035/tree-traversal
Added tree traversal algorithms (inorder, preorder, postorder) and other minor fixes
2 parents 8102e6a + c9fb641 commit c513859

10 files changed

+16
-15
lines changed

css/stylesheet.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,8 +492,9 @@ input[type=number]::-webkit-outer-spin-button {
492492
margin: 0;
493493
}
494494

495+
.applications li,
495496
.complexity {
496-
margin: 10px 0px;
497+
margin: 10px 0px;
497498
}
498499

499500
.complexity-type {
@@ -514,4 +515,4 @@ input[type=number]::-webkit-outer-spin-button {
514515

515516
#btn_pause.active > .btn-text:before {
516517
content: 'Resume'
517-
}
518+
}

js/dom/show_description.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = (data) => {
2323

2424
} else if (isArray(value)) {
2525

26-
const $ul = $('<ul>');
26+
const $ul = $('<ul class="applications">');
2727
$container.append($ul);
2828

2929
value.forEach((li) => {
@@ -32,7 +32,7 @@ module.exports = (data) => {
3232

3333
} else if (typeof value === 'object') {
3434

35-
const $ul = $('<ul>');
35+
const $ul = $('<ul class="complexities">');
3636
$container.append($ul);
3737

3838
each(value, (prop) => {

js/tracer_manager/util/refine_by_type.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ const refineBoolean = (bool) => {
2121
return bool ? 'T' : 'F';
2222
};
2323

24-
module.exports = refineByType;
24+
module.exports = refineByType;

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"homepage": "https://github.com/parkjs814/AlgorithmVisualizer#readme",
2323
"devDependencies": {
2424
"babel-core": "^6.9.0",
25-
"babel-loader": "^6.2.4",
2625
"babel-preset-es2015": "^6.9.0",
2726
"babelify": "^7.3.0",
2827
"browserify": "^13.0.1",

public/algorithm_visualizer.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -621,8 +621,9 @@ input[type=number]::-webkit-outer-spin-button {
621621
margin: 0;
622622
}
623623

624+
.applications li,
624625
.complexity {
625-
margin: 10px 0px;
626+
margin: 10px 0px;
626627
}
627628

628629
.complexity-type {
@@ -643,4 +644,4 @@ input[type=number]::-webkit-outer-spin-button {
643644

644645
#btn_pause.active > .btn-text:before {
645646
content: 'Resume'
646-
}
647+
}

public/algorithm_visualizer.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/algorithm_visualizer.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/algorithm_visualizer.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/algorithm_visualizer.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/algorithm_visualizer.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)