jsmind 0.7.7 → 0.7.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,7 +7,7 @@
7
7
  <link
8
8
  type="text/css"
9
9
  rel="stylesheet"
10
- href="//cdn.jsdelivr.net/npm/jsmind@0.7.7/style/jsmind.css"
10
+ href="//cdn.jsdelivr.net/npm/jsmind@0.7.8/style/jsmind.css"
11
11
  />
12
12
  <style type="text/css">
13
13
  #jsmind_container {
@@ -21,8 +21,8 @@
21
21
 
22
22
  <body>
23
23
  <div id="jsmind_container"></div>
24
- <script src="//cdn.jsdelivr.net/npm/jsmind@0.7.7/es6/jsmind.js"></script>
25
- <script src="//cdn.jsdelivr.net/npm/jsmind@0.7.7/es6/jsmind.draggable-node.js"></script>
24
+ <script src="//cdn.jsdelivr.net/npm/jsmind@0.7.8/es6/jsmind.js"></script>
25
+ <script src="//cdn.jsdelivr.net/npm/jsmind@0.7.8/es6/jsmind.draggable-node.js"></script>
26
26
  <script type="text/javascript">
27
27
  function load_jsmind() {
28
28
  var mind = {
@@ -7,7 +7,7 @@
7
7
  <link
8
8
  type="text/css"
9
9
  rel="stylesheet"
10
- href="//jsd.onmicrosoft.cn/npm/jsmind@0.7.7/style/jsmind.css"
10
+ href="//jsd.onmicrosoft.cn/npm/jsmind@0.7.8/style/jsmind.css"
11
11
  />
12
12
  <style type="text/css">
13
13
  #jsmind_container {
@@ -21,8 +21,8 @@
21
21
 
22
22
  <body>
23
23
  <div id="jsmind_container"></div>
24
- <script src="//jsd.onmicrosoft.cn/npm/jsmind@0.7.7/es6/jsmind.js"></script>
25
- <script src="//jsd.onmicrosoft.cn/npm/jsmind@0.7.7/es6/jsmind.draggable-node.js"></script>
24
+ <script src="//jsd.onmicrosoft.cn/npm/jsmind@0.7.8/es6/jsmind.js"></script>
25
+ <script src="//jsd.onmicrosoft.cn/npm/jsmind@0.7.8/es6/jsmind.draggable-node.js"></script>
26
26
  <script type="text/javascript">
27
27
  function load_jsmind() {
28
28
  var mind = {
@@ -7,7 +7,7 @@
7
7
  <link
8
8
  type="text/css"
9
9
  rel="stylesheet"
10
- href="//cdn.jsdelivr.net/npm/jsmind@0.7.7/style/jsmind.css"
10
+ href="//cdn.jsdelivr.net/npm/jsmind@0.7.8/style/jsmind.css"
11
11
  />
12
12
  <style type="text/css">
13
13
  li {
@@ -192,11 +192,11 @@
192
192
  </div>
193
193
  <script
194
194
  type="text/javascript"
195
- src="//cdn.jsdelivr.net/npm/jsmind@0.7.7/es6/jsmind.js"
195
+ src="//cdn.jsdelivr.net/npm/jsmind@0.7.8/es6/jsmind.js"
196
196
  ></script>
197
197
  <script
198
198
  type="text/javascript"
199
- src="//cdn.jsdelivr.net/npm/jsmind@0.7.7/es6/jsmind.draggable-node.js"
199
+ src="//cdn.jsdelivr.net/npm/jsmind@0.7.8/es6/jsmind.draggable-node.js"
200
200
  ></script>
201
201
  <script
202
202
  type="text/javascript"
@@ -204,7 +204,7 @@
204
204
  ></script>
205
205
  <script
206
206
  type="text/javascript"
207
- src="//cdn.jsdelivr.net/npm/jsmind@0.7.7/es6/jsmind.screenshot.js"
207
+ src="//cdn.jsdelivr.net/npm/jsmind@0.7.8/es6/jsmind.screenshot.js"
208
208
  ></script>
209
209
  <script type="text/javascript" src="2_features.js"></script>
210
210
  </body>
@@ -7,7 +7,7 @@
7
7
  <link
8
8
  type="text/css"
9
9
  rel="stylesheet"
10
- href="//jsd.onmicrosoft.cn/npm/jsmind@0.7.7/style/jsmind.css"
10
+ href="//jsd.onmicrosoft.cn/npm/jsmind@0.7.8/style/jsmind.css"
11
11
  />
12
12
  <style type="text/css">
13
13
  li {
@@ -199,11 +199,11 @@
199
199
  </div>
200
200
  <script
201
201
  type="text/javascript"
202
- src="//jsd.onmicrosoft.cn/npm/jsmind@0.7.7/es6/jsmind.js"
202
+ src="//jsd.onmicrosoft.cn/npm/jsmind@0.7.8/es6/jsmind.js"
203
203
  ></script>
204
204
  <script
205
205
  type="text/javascript"
206
- src="//jsd.onmicrosoft.cn/npm/jsmind@0.7.7/es6/jsmind.draggable-node.js"
206
+ src="//jsd.onmicrosoft.cn/npm/jsmind@0.7.8/es6/jsmind.draggable-node.js"
207
207
  ></script>
208
208
  <script
209
209
  type="text/javascript"
@@ -211,7 +211,7 @@
211
211
  ></script>
212
212
  <script
213
213
  type="text/javascript"
214
- src="//jsd.onmicrosoft.cn/npm/jsmind@0.7.7/es6/jsmind.screenshot.js"
214
+ src="//jsd.onmicrosoft.cn/npm/jsmind@0.7.8/es6/jsmind.screenshot.js"
215
215
  ></script>
216
216
  <script type="text/javascript" src="2_features.js"></script>
217
217
  </body>
@@ -7,7 +7,7 @@
7
7
  <link
8
8
  type="text/css"
9
9
  rel="stylesheet"
10
- href="https://unpkg.com/jsmind@0.7.7/style/jsmind.css"
10
+ href="https://unpkg.com/jsmind@0.7.8/style/jsmind.css"
11
11
  />
12
12
  <style type="text/css">
13
13
  #jsmind_container {
@@ -29,8 +29,8 @@
29
29
  <script type="text/javascript">
30
30
  require.config({
31
31
  paths: {
32
- 'jsmind': 'https://unpkg.com/jsmind@0.7.7/es6/jsmind',
33
- 'jsmind/draggable-node': 'https://unpkg.com/jsmind@0.7.7/es6/jsmind.draggable-node',
32
+ 'jsmind': 'https://unpkg.com/jsmind@0.7.8/es6/jsmind',
33
+ 'jsmind/draggable-node': 'https://unpkg.com/jsmind@0.7.8/es6/jsmind.draggable-node',
34
34
  },
35
35
  });
36
36
  require(['jsmind', 'jsmind/draggable-node'], function (jsMind, _) {
@@ -38,7 +38,7 @@
38
38
  meta: {
39
39
  name: 'jsMind example',
40
40
  author: 'hizzgdev@163.com',
41
- version: '0.7.7',
41
+ version: '0.7.8',
42
42
  },
43
43
  format: 'node_tree',
44
44
  data: {
package/example/demo.html CHANGED
@@ -52,6 +52,7 @@
52
52
  container: 'jsmind_container',
53
53
  editable: true,
54
54
  theme: 'primary',
55
+ log_level: 'debug',
55
56
  shortcut: {
56
57
  handles: {
57
58
  test: function (j, e) {
@@ -62,6 +63,9 @@
62
63
  test: 89,
63
64
  },
64
65
  },
66
+ view: {
67
+ expander_style: 'char',
68
+ },
65
69
  };
66
70
  _jm = new jsMind(options);
67
71
  _jm.show(mind);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsmind",
3
- "version": "0.7.7",
3
+ "version": "0.7.8",
4
4
  "description": "jsMind is a pure javascript library for mindmap, it base on html5 canvas. jsMind was released under BSD license, you can embed it in any project, if only you observe the license.",
5
5
  "main": "es6/jsmind.js",
6
6
  "exports": {
package/style/jsmind.css CHANGED
@@ -56,7 +56,7 @@ jmexpander {
56
56
  display: block;
57
57
  overflow: hidden;
58
58
  line-height: 12px;
59
- font-size: 12px;
59
+ font-size: 10px;
60
60
  text-align: center;
61
61
  border-radius: 6px;
62
62
  border-width: 1px;