es6-style tracers · boro741/AlgorithmVisualizer@6f91d78 · GitHub
Skip to content

Commit 6f91d78

Browse files
committed
es6-style tracers
1 parent ad12091 commit 6f91d78

18 files changed

Lines changed: 2095 additions & 1860 deletions

algorithm/dp/pascal_triangle/pascal_triangle/data.js

Lines changed: 0 additions & 6 deletions

js/app/constructor.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ const {
99
hideLoadingSlider
1010
} = require('../dom/loading_slider');
1111

12-
const {
13-
getFileDir
14-
} = require('../utils');
15-
1612
const Cache = require('./cache');
1713

1814
const state = {

js/module/data/array2d.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ const random = (N, M, min, max) => {
1313
return D;
1414
};
1515

16-
const randomSorted = (N, M, min, max)=> {
17-
return this.random(N, M, min, max).map(function (arr) {
16+
const randomSorted = (N, M, min, max) => {
17+
return random(N, M, min, max).map(function (arr) {
1818
return arr.sort(function (a, b) {
1919
return a - b;
2020
});

js/module/tracer/array1d.js

Lines changed: 29 additions & 23 deletions

0 commit comments

Comments
 (0)