Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
tianyazhichiC
algorithm-visualizer
提交
d467815b
A
algorithm-visualizer
项目概览
tianyazhichiC
/
algorithm-visualizer
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
algorithm-visualizer
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
d467815b
编写于
6月 04, 2016
作者:
N
nem035
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
added "use strict" to all files that did not have it
上级
b6f42c55
变更
36
展开全部
显示空白变更内容
内联
并排
Showing
36 changed file
with
106 addition
and
41 deletion
+106
-41
js/dom/loading_slider.js
js/dom/loading_slider.js
+1
-0
js/dom/setup/index.js
js/dom/setup/index.js
+4
-2
js/dom/setup/setup_dividers.js
js/dom/setup/setup_dividers.js
+3
-1
js/dom/setup/setup_document.js
js/dom/setup/setup_document.js
+3
-1
js/dom/setup/setup_files_bar.js
js/dom/setup/setup_files_bar.js
+3
-1
js/dom/setup/setup_interval.js
js/dom/setup/setup_interval.js
+3
-1
js/dom/setup/setup_module_container.js
js/dom/setup/setup_module_container.js
+3
-1
js/dom/setup/setup_powered_by.js
js/dom/setup/setup_powered_by.js
+3
-1
js/dom/setup/setup_scratch_paper.js
js/dom/setup/setup_scratch_paper.js
+3
-1
js/dom/setup/setup_side_menu.js
js/dom/setup/setup_side_menu.js
+3
-1
js/dom/setup/setup_top_menu.js
js/dom/setup/setup_top_menu.js
+2
-0
js/dom/setup/setup_window.js
js/dom/setup/setup_window.js
+3
-1
js/module/data/array1d.js
js/module/data/array1d.js
+2
-0
js/module/data/array2d.js
js/module/data/array2d.js
+3
-1
js/module/data/coordinate_system.js
js/module/data/coordinate_system.js
+3
-1
js/module/data/directed_graph.js
js/module/data/directed_graph.js
+3
-1
js/module/data/undirected_graph.js
js/module/data/undirected_graph.js
+3
-1
js/module/data/weighted_directed_graph.js
js/module/data/weighted_directed_graph.js
+3
-1
js/module/data/weighted_undirected_graph.js
js/module/data/weighted_undirected_graph.js
+3
-1
js/module/tracer/array1d.js
js/module/tracer/array1d.js
+3
-1
js/module/tracer/array2d.js
js/module/tracer/array2d.js
+3
-1
js/module/tracer/chart.js
js/module/tracer/chart.js
+3
-1
js/module/tracer/coordinate_system.js
js/module/tracer/coordinate_system.js
+3
-1
js/module/tracer/directed_graph.js
js/module/tracer/directed_graph.js
+3
-1
js/module/tracer/log.js
js/module/tracer/log.js
+3
-1
js/module/tracer/tracer.js
js/module/tracer/tracer.js
+4
-2
js/module/tracer/undirected_graph.js
js/module/tracer/undirected_graph.js
+3
-1
js/module/tracer/weighted_directed_graph.js
js/module/tracer/weighted_directed_graph.js
+3
-1
js/module/tracer/weighted_undirected_graph.js
js/module/tracer/weighted_undirected_graph.js
+3
-1
js/tracer_manager/util/from_json.js
js/tracer_manager/util/from_json.js
+3
-1
js/tracer_manager/util/index.js
js/tracer_manager/util/index.js
+3
-1
js/tracer_manager/util/refine_by_type.js
js/tracer_manager/util/refine_by_type.js
+2
-0
js/tracer_manager/util/to_json.js
js/tracer_manager/util/to_json.js
+3
-1
public/algorithm_visualizer.js
public/algorithm_visualizer.js
+8
-8
public/algorithm_visualizer.js.map
public/algorithm_visualizer.js.map
+1
-1
public/algorithm_visualizer.min.js.map
public/algorithm_visualizer.min.js.map
+1
-1
未找到文件。
js/dom/loading_slider.js
浏览文件 @
d467815b
'
use strict
'
;
const
showLoadingSlider
=
()
=>
{
$
(
'
#loading-slider
'
).
removeClass
(
'
loaded
'
);
...
...
js/dom/setup/index.js
浏览文件 @
d467815b
'
use strict
'
;
const
setupDividers
=
require
(
'
./setup_dividers
'
);
const
setupDocument
=
require
(
'
./setup_document
'
);
const
setupFilesBar
=
require
(
'
./setup_files_bar
'
);
...
...
js/dom/setup/setup_dividers.js
浏览文件 @
d467815b
'
use strict
'
;
const
app
=
require
(
'
../../app
'
);
const
addDividerToDom
=
(
divider
)
=>
{
...
...
js/dom/setup/setup_document.js
浏览文件 @
d467815b
'
use strict
'
;
const
app
=
require
(
'
../../app
'
);
module
.
exports
=
()
=>
{
...
...
js/dom/setup/setup_files_bar.js
浏览文件 @
d467815b
'
use strict
'
;
const
definitelyBigger
=
(
x
,
y
)
=>
x
>
(
y
+
2
);
module
.
exports
=
()
=>
{
...
...
js/dom/setup/setup_interval.js
浏览文件 @
d467815b
'
use strict
'
;
const
app
=
require
(
'
../../app
'
);
const
Toast
=
require
(
'
../toast
'
);
...
...
js/dom/setup/setup_module_container.js
浏览文件 @
d467815b
'
use strict
'
;
const
app
=
require
(
'
../../app
'
);
module
.
exports
=
()
=>
{
...
...
js/dom/setup/setup_powered_by.js
浏览文件 @
d467815b
'
use strict
'
;
module
.
exports
=
()
=>
{
$
(
'
#powered-by
'
).
click
(
function
()
{
$
(
'
#powered-by-list button
'
).
toggleClass
(
'
collapse
'
);
...
...
js/dom/setup/setup_scratch_paper.js
浏览文件 @
d467815b
'
use strict
'
;
const
app
=
require
(
'
../../app
'
);
const
Server
=
require
(
'
../../server
'
);
const
showAlgorithm
=
require
(
'
../show_algorithm
'
);
...
...
js/dom/setup/setup_side_menu.js
浏览文件 @
d467815b
'
use strict
'
;
const
app
=
require
(
'
../../app
'
);
let
sidemenu_percent
;
...
...
js/dom/setup/setup_top_menu.js
浏览文件 @
d467815b
'
use strict
'
;
const
app
=
require
(
'
../../app
'
);
const
Server
=
require
(
'
../../server
'
);
const
Toast
=
require
(
'
../toast
'
);
...
...
js/dom/setup/setup_window.js
浏览文件 @
d467815b
'
use strict
'
;
const
app
=
require
(
'
../../app
'
);
module
.
exports
=
function
()
{
...
...
js/module/data/array1d.js
浏览文件 @
d467815b
'
use strict
'
;
const
Array2D
=
require
(
'
./array2d
'
);
const
random
=
(
N
,
min
,
max
)
=>
{
...
...
js/module/data/array2d.js
浏览文件 @
d467815b
'
use strict
'
;
const
random
=
(
N
,
M
,
min
,
max
)
=>
{
if
(
!
N
)
N
=
10
;
if
(
!
M
)
M
=
10
;
...
...
js/module/data/coordinate_system.js
浏览文件 @
d467815b
'
use strict
'
;
const
random
=
(
N
,
min
,
max
)
=>
{
if
(
!
N
)
N
=
7
;
if
(
!
min
)
min
=
1
;
...
...
js/module/data/directed_graph.js
浏览文件 @
d467815b
'
use strict
'
;
const
random
=
(
N
,
ratio
)
=>
{
if
(
!
N
)
N
=
5
;
if
(
!
ratio
)
ratio
=
.
3
;
...
...
js/module/data/undirected_graph.js
浏览文件 @
d467815b
'
use strict
'
;
const
random
=
(
N
,
ratio
)
=>
{
if
(
!
N
)
N
=
5
;
if
(
!
ratio
)
ratio
=
.
3
;
...
...
js/module/data/weighted_directed_graph.js
浏览文件 @
d467815b
'
use strict
'
;
const
random
=
(
N
,
ratio
,
min
,
max
)
=>
{
if
(
!
N
)
N
=
5
;
if
(
!
ratio
)
ratio
=
.
3
;
...
...
js/module/data/weighted_undirected_graph.js
浏览文件 @
d467815b
'
use strict
'
;
const
random
=
(
N
,
ratio
,
min
,
max
)
=>
{
if
(
!
N
)
N
=
5
;
if
(
!
ratio
)
ratio
=
.
3
;
...
...
js/module/tracer/array1d.js
浏览文件 @
d467815b
'
use strict
'
;
const
Array2DTracer
=
require
(
'
./array2d
'
);
class
Array1DTracer
extends
Array2DTracer
{
...
...
js/module/tracer/array2d.js
浏览文件 @
d467815b
'
use strict
'
;
const
Tracer
=
require
(
'
./tracer
'
);
const
{
...
...
js/module/tracer/chart.js
浏览文件 @
d467815b
'
use strict
'
;
const
Tracer
=
require
(
'
./tracer
'
);
class
ChartTracer
extends
Tracer
{
...
...
js/module/tracer/coordinate_system.js
浏览文件 @
d467815b
'
use strict
'
;
const
DirectedGraphTracer
=
require
(
'
./directed_graph
'
);
class
CoordinateSystemTracer
extends
DirectedGraphTracer
{
...
...
js/module/tracer/directed_graph.js
浏览文件 @
d467815b
'
use strict
'
;
const
Tracer
=
require
(
'
./tracer
'
);
const
{
...
...
js/module/tracer/log.js
浏览文件 @
d467815b
'
use strict
'
;
const
Tracer
=
require
(
'
./tracer
'
);
class
LogTracer
extends
Tracer
{
...
...
js/module/tracer/tracer.js
浏览文件 @
d467815b
'
use strict
'
;
const
app
=
require
(
'
../../app
'
);
const
{
...
...
js/module/tracer/undirected_graph.js
浏览文件 @
d467815b
'
use strict
'
;
const
DirectedGraphTracer
=
require
(
'
./directed_graph
'
);
class
UndirectedGraphTracer
extends
DirectedGraphTracer
{
...
...
js/module/tracer/weighted_directed_graph.js
浏览文件 @
d467815b
'
use strict
'
;
const
DirectedGraphTracer
=
require
(
'
./directed_graph
'
);
const
{
...
...
js/module/tracer/weighted_undirected_graph.js
浏览文件 @
d467815b
'
use strict
'
;
const
WeightedDirectedGraphTracer
=
require
(
'
./weighted_directed_graph
'
);
const
UndirectedGraphTracer
=
require
(
'
./undirected_graph
'
);
...
...
js/tracer_manager/util/from_json.js
浏览文件 @
d467815b
'
use strict
'
;
const
{
parse
}
=
JSON
;
...
...
js/tracer_manager/util/index.js
浏览文件 @
d467815b
'
use strict
'
;
const
toJSON
=
require
(
'
./to_json
'
);
const
fromJSON
=
require
(
'
./from_json
'
);
const
refineByType
=
require
(
'
./refine_by_type
'
);
...
...
js/tracer_manager/util/refine_by_type.js
浏览文件 @
d467815b
'
use strict
'
;
const
refineByType
=
(
item
)
=>
{
switch
(
typeof
(
item
))
{
case
'
number
'
:
...
...
js/tracer_manager/util/to_json.js
浏览文件 @
d467815b
'
use strict
'
;
const
{
stringify
}
=
JSON
;
...
...
public/algorithm_visualizer.js
浏览文件 @
d467815b
此差异已折叠。
点击以展开。
public/algorithm_visualizer.js.map
浏览文件 @
d467815b
此差异已折叠。
点击以展开。
public/algorithm_visualizer.min.js.map
浏览文件 @
d467815b
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录