-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjsmind-jsdeliver-cn-mirror.html
40 lines (39 loc) · 1.26 KB
/
jsmind-jsdeliver-cn-mirror.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jsMind</title>
<link
type="text/css"
rel="stylesheet"
href="//jsd.onmicrosoft.cn/npm/jsmind@0.8.1/style/jsmind.css"
/>
<style type="text/css">
#jsmind_container {
width: 800px;
height: 500px;
border: solid 1px #ccc;
background: #f4f4f4;
}
</style>
</head>
<body>
<div id="jsmind_container"></div>
<script src="//jsd.onmicrosoft.cn/npm/jsmind@0.8.1/es6/jsmind.js"></script>
<script src="//jsd.onmicrosoft.cn/npm/jsmind@0.8.1/es6/jsmind.draggable-node.js"></script>
<script src="jsmind-data-sample.js"></script>
<script type="text/javascript">
function load_jsmind() {
var options = {
container: 'jsmind_container',
editable: true,
theme: 'primary',
};
var jm = new jsMind(options);
jm.show(JSMIND_DATA_SAMPLE);
}
load_jsmind();
</script>
</body>
</html>