Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kityminder-core
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
吴志俊
kityminder-core
Commits
159539c2
Commit
159539c2
authored
Mar 24, 2014
by
techird
Browse files
Options
Browse Files
Download
Plain Diff
publish
parents
dfbf06a4
908171a9
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
9 deletions
+30
-9
CHANGELOG.md
CHANGELOG.md
+11
-2
kityminder.all.js
dist/kityminder.all.js
+1
-1
kityminder.all.min.js
dist/kityminder.all.min.js
+1
-1
social.js
social/social.js
+16
-4
kityminder.js
src/core/kityminder.js
+1
-1
No files found.
CHANGELOG.md
View file @
159539c2
# KityMinder Change Log
## v1.2.0
## v1.1.1
### 功能更新
1.
添加快捷键,新建脑图(ctrl+n),分享脑图(ctrl+shift+s),保存脑图(ctrl+s)
1.
添加文件操作快捷键支持:
*
新建脑图(
`Ctrl`
+
`N`
)
*
保存脑图到云端(
`Ctrl`
+
`S`
)
*
分享脑图(
`Ctrl`
+
`Shift`
+
`S`
)
2.
草稿功能升级为草稿箱
3.
添加了帮助菜单
## v1.1.0
...
...
dist/kityminder.all.js
View file @
159539c2
...
...
@@ -12,7 +12,7 @@
var
KityMinder
=
window
.
KM
=
window
.
KityMinder
=
function
()
{
var
instanceMap
=
{},
instanceId
=
0
;
return
{
version
:
'1.1.
0
'
,
version
:
'1.1.
1
'
,
createMinder
:
function
(
renderTarget
,
options
)
{
options
=
options
||
{};
options
.
renderTo
=
Utils
.
isString
(
renderTarget
)
?
document
.
getElementById
(
renderTarget
)
:
renderTarget
;
...
...
dist/kityminder.all.min.js
View file @
159539c2
This source diff could not be displayed because it is too large. You can
view the blob
instead.
social/social.js
View file @
159539c2
...
...
@@ -338,6 +338,16 @@ $( function () {
var
data
=
minder
.
exportData
(
'json'
);
var
sto
=
baidu
.
frontia
.
personalStorage
;
function
error
(
reason
)
{
notice
(
reason
+
'
\
n建议您将脑图以 .km 格式导出到本地!'
);
$save_btn
.
loading
(
false
);
clearTimeout
(
timeout
);
}
var
timeout
=
setTimeout
(
function
()
{
error
(
'保存到云盘超时,可能是网络不稳定导致。'
);
},
15000
);
sto
.
uploadTextFile
(
data
,
remotePath
||
generateRemotePath
(),
{
ondup
:
remotePath
?
sto
.
constant
.
ONDUP_OVERWRITE
:
sto
.
constant
.
ONDUP_NEWCOPY
,
success
:
function
(
savedFile
)
{
...
...
@@ -347,12 +357,14 @@ $( function () {
}
setRemotePath
(
savedFile
.
path
,
true
);
$save_btn
.
text
(
'已保存!'
);
}
draftManager
.
save
(
remotePath
);
clearTimeout
(
timeout
);
}
else
{
error
(
'保存到云盘失败,可能是网络问题导致!'
);
}
},
error
:
function
(
error
)
{
window
.
alert
(
'保存到云盘失败,建议您将脑图以 .km 格式导出到本地!'
);
$save_btn
.
loading
(
false
);
error
:
function
(
e
)
{
error
(
'保存到云盘失败'
);
}
}
);
...
...
src/core/kityminder.js
View file @
159539c2
var
KityMinder
=
window
.
KM
=
window
.
KityMinder
=
function
()
{
var
instanceMap
=
{},
instanceId
=
0
;
return
{
version
:
'1.1.
0
'
,
version
:
'1.1.
1
'
,
createMinder
:
function
(
renderTarget
,
options
)
{
options
=
options
||
{};
options
.
renderTo
=
Utils
.
isString
(
renderTarget
)
?
document
.
getElementById
(
renderTarget
)
:
renderTarget
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment