jsmind 0.4.11 → 0.4.12
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.
- package/README.md +1 -1
- package/docs/en/1.usage.md +47 -0
- package/docs/en/2.options.md +1 -1
- package/docs/zh/1.usage.md +48 -0
- package/docs/zh/2.options.md +1 -1
- package/es6/jsmind.js +1 -1
- package/es6/jsmind.js.map +1 -1
- package/js/jsmind.js +2 -3
- package/package.json +1 -1
package/js/jsmind.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
// __name__ should be a const value, Never try to change it easily.
|
|
13
13
|
var __name__ = 'jsMind';
|
|
14
14
|
// library version
|
|
15
|
-
var __version__ = '0.4.
|
|
15
|
+
var __version__ = '0.4.12';
|
|
16
16
|
// author
|
|
17
17
|
var __author__ = 'hizzgdev@163.com';
|
|
18
18
|
|
|
@@ -1133,8 +1133,7 @@
|
|
|
1133
1133
|
// Avoid default page scrolling behavior.
|
|
1134
1134
|
event.preventDefault()
|
|
1135
1135
|
|
|
1136
|
-
|
|
1137
|
-
if (dir == "Up") {
|
|
1136
|
+
if (event.deltaY < 0) {
|
|
1138
1137
|
this.view.zoomIn()
|
|
1139
1138
|
} else {
|
|
1140
1139
|
this.view.zoomOut()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jsmind",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.12",
|
|
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": "js/jsmind.js",
|
|
6
6
|
"directories": {
|