Skip to content

Commit 3bf5a64

Browse files
authored
[Release] upgrade version to 0.8.3
1 parent 187bf55 commit 3bf5a64

13 files changed

+42
-42
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jsMind is mind map library built by javascript, it base on html5 canvas and svg.
2020
<link
2121
type="text/css"
2222
rel="stylesheet"
23-
href="//cdn.jsdelivr.net/npm/jsmind@0.8.2/style/jsmind.css"
23+
href="//cdn.jsdelivr.net/npm/jsmind@0.8.3/style/jsmind.css"
2424
/>
2525
<script
2626
type="text/javascript"
27-
src="//cdn.jsdelivr.net/npm/jsmind@0.8.2/es6/jsmind.js"
27+
src="//cdn.jsdelivr.net/npm/jsmind@0.8.3/es6/jsmind.js"
2828
></script>
2929
</head>
3030
<body>

docs/en/1.usage.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@
1414
At first, 2 files (jsmind.css and jsmind.js) are required. Here we link to the resources on the CDN. It is recommended to use the latest version.
1515

1616
```html
17-
<link type="text/css" rel="stylesheet" href="https://unpkg.com/jsmind@0.8.2/style/jsmind.css" />
17+
<link type="text/css" rel="stylesheet" href="https://unpkg.com/jsmind@0.8.3/style/jsmind.css" />
1818

19-
<script type="text/javascript" src="https://unpkg.com/jsmind@0.8.2/es6/jsmind.js"></script>
19+
<script type="text/javascript" src="https://unpkg.com/jsmind@0.8.3/es6/jsmind.js"></script>
2020

2121
```
2222
> CDNs in common use: [UNPKG](https://unpkg.com/jsmind/), [jsDelivr](https://www.jsdelivr.com/package/npm/jsmind/), and [the mirror of jsDelivr in China](https://jsd.onmicrosoft.cn/npm/jsmind/). the resource urls would look like:
23-
> - https://unpkg.com/jsmind@0.8.2/es6/jsmind.js
24-
> - https://cdn.jsdelivr.net/npm/jsmind@0.8.2/es6/jsmind.js
25-
> - https://jsd.onmicrosoft.cn/npm/jsmind@0.8.2/es6/jsmind.js
23+
> - https://unpkg.com/jsmind@0.8.3/es6/jsmind.js
24+
> - https://cdn.jsdelivr.net/npm/jsmind@0.8.3/es6/jsmind.js
25+
> - https://jsd.onmicrosoft.cn/npm/jsmind@0.8.3/es6/jsmind.js
2626
>
2727
> The version number appear in the url of CDN. It's strongly recommended that you also specify the version number in your project to avoid the risks that caused by version upgrades. Access the [jsMind on NPM](https://www.npmjs.com/package/jsmind) to get the latest version number of jsMind.
2828
2929
Add script jsmind.draggable-node.js for enabling draggable node feature.
3030

3131
```html
32-
<script type="text/javascript" src="https://unpkg.com/jsmind@0.8.2/es6/jsmind.draggable-node.js"></script>
32+
<script type="text/javascript" src="https://unpkg.com/jsmind@0.8.3/es6/jsmind.draggable-node.js"></script>
3333
```
3434

3535
The second, a div element should be in your HTML as container

docs/en/plugin-screenshot.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ This feature can support to export mind maps as png images.
1818
```html
1919

2020
<!-- style -->
21-
<link type="text/css" rel="stylesheet" href="https://unpkg.com/jsmind@0.8.2/style/jsmind.css" />
21+
<link type="text/css" rel="stylesheet" href="https://unpkg.com/jsmind@0.8.3/style/jsmind.css" />
2222

2323
<!-- jsMind -->
24-
<script type="text/javascript" src="https://unpkg.com/jsmind@0.8.2/es6/jsmind.js"></script>
24+
<script type="text/javascript" src="https://unpkg.com/jsmind@0.8.3/es6/jsmind.js"></script>
2525

2626
<!-- dependency of screenshot -->
2727
<script type="text/javascript" src="https://unpkg.com/dom-to-image@2.6.0/dist/dom-to-image.min.js" ></script>
2828

2929
<!-- screenshot plugin -->
30-
<script type="text/javascript" src="https://unpkg.com/jsmind@0.8.2/es6/jsmind.screenshot.js"></script>
30+
<script type="text/javascript" src="https://unpkg.com/jsmind@0.8.3/es6/jsmind.screenshot.js"></script>
3131

3232

3333
<script>

docs/zh/1.usage.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,22 @@
1515

1616

1717
```html
18-
<link type="text/css" rel="stylesheet" href="https://unpkg.com/jsmind@0.8.2/style/jsmind.css" />
18+
<link type="text/css" rel="stylesheet" href="https://unpkg.com/jsmind@0.8.3/style/jsmind.css" />
1919

20-
<script type="text/javascript" src="https://unpkg.com/jsmind@0.8.2/es6/jsmind.js"></script>
20+
<script type="text/javascript" src="https://unpkg.com/jsmind@0.8.3/es6/jsmind.js"></script>
2121
```
2222

2323
> 常用的 CDN 有 [UNPKG](https://unpkg.com/jsmind/)[jsDelivr](https://www.jsdelivr.com/package/npm/jsmind/),以及 jsDelivr 的[国内镜像](https://jsd.onmicrosoft.cn/npm/jsmind/)。文件路径大概像这样:
24-
> - https://unpkg.com/jsmind@0.8.2/es6/jsmind.js
25-
> - https://cdn.jsdelivr.net/npm/jsmind@0.8.2/es6/jsmind.js
26-
> - https://jsd.onmicrosoft.cn/npm/jsmind@0.8.2/es6/jsmind.js
24+
> - https://unpkg.com/jsmind@0.8.3/es6/jsmind.js
25+
> - https://cdn.jsdelivr.net/npm/jsmind@0.8.3/es6/jsmind.js
26+
> - https://jsd.onmicrosoft.cn/npm/jsmind@0.8.3/es6/jsmind.js
2727
>
2828
> 示例中url中都有版本号,强烈建议你在项目里也指明版本号,以避免版本升级给你的项目带来风险。访问 [NPM 上的 jsMind](https://www.npmjs.com/package/jsmind) 可以获取 jsmind 的最新版本号。
2929
3030
如果希望能够通过鼠标拖拽的方式移动节点,需要额外引用 jsmind.draggable-node.js 文件
3131

3232
```html
33-
<script type="text/javascript" src="https://unpkg.com/jsmind@0.8.2/es6/jsmind.draggable-node.js"></script>
33+
<script type="text/javascript" src="https://unpkg.com/jsmind@0.8.3/es6/jsmind.draggable-node.js"></script>
3434
```
3535

3636
其次,要为 jsMind 准备一个容器,jsMind 将在这个容器里显示思维导图。可自行定义容器的id、大小及样式。

docs/zh/plugin-screenshot.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@
2020
```html
2121

2222
<!-- style -->
23-
<link type="text/css" rel="stylesheet" href="https://unpkg.com/jsmind@0.8.2/style/jsmind.css" />
23+
<link type="text/css" rel="stylesheet" href="https://unpkg.com/jsmind@0.8.3/style/jsmind.css" />
2424

2525
<!-- jsMind -->
26-
<script type="text/javascript" src="https://unpkg.com/jsmind@0.8.2/es6/jsmind.js"></script>
26+
<script type="text/javascript" src="https://unpkg.com/jsmind@0.8.3/es6/jsmind.js"></script>
2727

2828
<!-- dependency of screenshot -->
2929
<script type="text/javascript" src="https://unpkg.com/dom-to-image@2.6.0/dist/dom-to-image.min.js" ></script>
3030

3131
<!-- screenshot plugin -->
32-
<script type="text/javascript" src="https://unpkg.com/jsmind@0.8.2/es6/jsmind.screenshot.js"></script>
32+
<script type="text/javascript" src="https://unpkg.com/jsmind@0.8.3/es6/jsmind.screenshot.js"></script>
3333

3434

3535
<script>

example/1_basic.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<link
88
type="text/css"
99
rel="stylesheet"
10-
href="//cdn.jsdelivr.net/npm/jsmind@0.8.2/style/jsmind.css"
10+
href="//cdn.jsdelivr.net/npm/jsmind@0.8.3/style/jsmind.css"
1111
/>
1212
<style type="text/css">
1313
#jsmind_container {
@@ -21,8 +21,8 @@
2121

2222
<body>
2323
<div id="jsmind_container"></div>
24-
<script src="//cdn.jsdelivr.net/npm/jsmind@0.8.2/es6/jsmind.js"></script>
25-
<script src="//cdn.jsdelivr.net/npm/jsmind@0.8.2/es6/jsmind.draggable-node.js"></script>
24+
<script src="//cdn.jsdelivr.net/npm/jsmind@0.8.3/es6/jsmind.js"></script>
25+
<script src="//cdn.jsdelivr.net/npm/jsmind@0.8.3/es6/jsmind.draggable-node.js"></script>
2626
<script type="text/javascript">
2727
function load_jsmind() {
2828
var mind = {

example/1_basic_cn.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<link
88
type="text/css"
99
rel="stylesheet"
10-
href="//jsd.onmicrosoft.cn/npm/jsmind@0.8.2/style/jsmind.css"
10+
href="//jsd.onmicrosoft.cn/npm/jsmind@0.8.3/style/jsmind.css"
1111
/>
1212
<style type="text/css">
1313
#jsmind_container {
@@ -21,8 +21,8 @@
2121

2222
<body>
2323
<div id="jsmind_container"></div>
24-
<script src="//jsd.onmicrosoft.cn/npm/jsmind@0.8.2/es6/jsmind.js"></script>
25-
<script src="//jsd.onmicrosoft.cn/npm/jsmind@0.8.2/es6/jsmind.draggable-node.js"></script>
24+
<script src="//jsd.onmicrosoft.cn/npm/jsmind@0.8.3/es6/jsmind.js"></script>
25+
<script src="//jsd.onmicrosoft.cn/npm/jsmind@0.8.3/es6/jsmind.draggable-node.js"></script>
2626
<script type="text/javascript">
2727
function load_jsmind() {
2828
var mind = {

example/2_features.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<link
88
type="text/css"
99
rel="stylesheet"
10-
href="//cdn.jsdelivr.net/npm/jsmind@0.8.2/style/jsmind.css"
10+
href="//cdn.jsdelivr.net/npm/jsmind@0.8.3/style/jsmind.css"
1111
/>
1212
<style type="text/css">
1313
li {
@@ -192,19 +192,19 @@
192192
</div>
193193
<script
194194
type="text/javascript"
195-
src="//cdn.jsdelivr.net/npm/jsmind@0.8.2/es6/jsmind.js"
195+
src="//cdn.jsdelivr.net/npm/jsmind@0.8.3/es6/jsmind.js"
196196
></script>
197197
<script
198198
type="text/javascript"
199-
src="//cdn.jsdelivr.net/npm/jsmind@0.8.2/es6/jsmind.draggable-node.js"
199+
src="//cdn.jsdelivr.net/npm/jsmind@0.8.3/es6/jsmind.draggable-node.js"
200200
></script>
201201
<script
202202
type="text/javascript"
203203
src="//cdn.jsdelivr.net/npm/dom-to-image@2.6.0/dist/dom-to-image.min.js"
204204
></script>
205205
<script
206206
type="text/javascript"
207-
src="//cdn.jsdelivr.net/npm/jsmind@0.8.2/es6/jsmind.screenshot.js"
207+
src="//cdn.jsdelivr.net/npm/jsmind@0.8.3/es6/jsmind.screenshot.js"
208208
></script>
209209
<script type="text/javascript" src="2_features.js"></script>
210210
</body>

example/2_features_cn.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<link
88
type="text/css"
99
rel="stylesheet"
10-
href="//jsd.onmicrosoft.cn/npm/jsmind@0.8.2/style/jsmind.css"
10+
href="//jsd.onmicrosoft.cn/npm/jsmind@0.8.3/style/jsmind.css"
1111
/>
1212
<style type="text/css">
1313
li {
@@ -199,19 +199,19 @@
199199
</div>
200200
<script
201201
type="text/javascript"
202-
src="//jsd.onmicrosoft.cn/npm/jsmind@0.8.2/es6/jsmind.js"
202+
src="//jsd.onmicrosoft.cn/npm/jsmind@0.8.3/es6/jsmind.js"
203203
></script>
204204
<script
205205
type="text/javascript"
206-
src="//jsd.onmicrosoft.cn/npm/jsmind@0.8.2/es6/jsmind.draggable-node.js"
206+
src="//jsd.onmicrosoft.cn/npm/jsmind@0.8.3/es6/jsmind.draggable-node.js"
207207
></script>
208208
<script
209209
type="text/javascript"
210210
src="//jsd.onmicrosoft.cn/npm/dom-to-image@2.6.0/dist/dom-to-image.min.js"
211211
></script>
212212
<script
213213
type="text/javascript"
214-
src="//jsd.onmicrosoft.cn/npm/jsmind@0.8.2/es6/jsmind.screenshot.js"
214+
src="//jsd.onmicrosoft.cn/npm/jsmind@0.8.3/es6/jsmind.screenshot.js"
215215
></script>
216216
<script type="text/javascript" src="2_features.js"></script>
217217
</body>

example/3_requirejs.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<link
88
type="text/css"
99
rel="stylesheet"
10-
href="https://unpkg.com/jsmind@0.8.2/style/jsmind.css"
10+
href="https://unpkg.com/jsmind@0.8.3/style/jsmind.css"
1111
/>
1212
<style type="text/css">
1313
#jsmind_container {
@@ -29,16 +29,16 @@
2929
<script type="text/javascript">
3030
require.config({
3131
paths: {
32-
'jsmind': 'https://unpkg.com/jsmind@0.8.2/es6/jsmind',
33-
'jsmind/draggable-node': 'https://unpkg.com/jsmind@0.8.2/es6/jsmind.draggable-node',
32+
'jsmind': 'https://unpkg.com/jsmind@0.8.3/es6/jsmind',
33+
'jsmind/draggable-node': 'https://unpkg.com/jsmind@0.8.3/es6/jsmind.draggable-node',
3434
},
3535
});
3636
require(['jsmind', 'jsmind/draggable-node'], function (jsMind, _) {
3737
let mind = {
3838
meta: {
3939
name: 'jsMind example',
4040
author: 'hizzgdev@163.com',
41-
version: '0.8.2',
41+
version: '0.8.3',
4242
},
4343
format: 'node_tree',
4444
data: {

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jsmind",
3-
"version": "0.8.2",
3+
"version": "0.8.3",
44
"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.",
55
"main": "es6/jsmind.js",
66
"exports": {

src/jsmind.common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* https://github.com/hizzgdev/jsmind/
77
*/
88

9-
export const __version__ = '0.8.2';
9+
export const __version__ = '0.8.3';
1010
export const __author__ = 'hizzgdev@163.com';
1111

1212
if (typeof String.prototype.startsWith != 'function') {

0 commit comments

Comments
 (0)