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
6dfb569a
Commit
6dfb569a
authored
Mar 25, 2014
by
techird
Browse files
Options
Browse Files
Download
Plain Diff
merge from dev
parents
f84236ca
65f76506
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
7 deletions
+10
-7
help.js
dialogs/help/help.js
+2
-2
index.html
dist/index.html
+1
-3
social.js
social/social.js
+2
-1
editor.js
src/module/editor.js
+2
-1
history.js
src/module/history.js
+3
-0
No files found.
dialogs/help/help.js
View file @
6dfb569a
...
...
@@ -25,8 +25,8 @@
helpContent
+=
'<p>使用百度账号登录后,您可以使用云存储和分享功能</p>'
;
helpContent
+=
'<ul>'
;
helpContent
+=
' <li><h3>登录:</h3>点击登录按钮</li>'
;
helpContent
+=
' <li><h3>保存:</h3>点击保存按钮,将会把文件保存到你的云盘里</li>'
;
helpContent
+=
' <li><h3>分享:</h3>点击分享按钮,会生成分享链接,该链接可以打开您分享的脑图</li>'
;
helpContent
+=
' <li><h3>保存
(CTRL+S)
:</h3>点击保存按钮,将会把文件保存到你的云盘里</li>'
;
helpContent
+=
' <li><h3>分享
(CTRL+SHIFT+S)
:</h3>点击分享按钮,会生成分享链接,该链接可以打开您分享的脑图</li>'
;
helpContent
+=
' <li><h3>打开:</h3>点击您账号的下拉按钮,会列出最近保存的脑图文件,点击即可打开</li>'
;
helpContent
+=
'</ul>'
;
...
...
dist/index.html
View file @
6dfb569a
...
...
@@ -24,11 +24,9 @@
<body>
<div
id=
"kityminder"
onselectstart=
"return false"
></div>
<div
id=
"github-url"
>
<a
href=
"https://github.com/fex-team/kityminder.git"
target=
"_blank"
>
Fork me on Github
</a>
</div>
<p
id=
"about"
>
KityMinder
<a
id=
"km-version"
href=
"https://github.com/fex-team/kityminder/blob/dev/CHANGELOG.md"
target=
"blank"
></a>
, Powered by f-cube,
<a
href=
"http://fex.baidu.com"
target=
"_blank"
>
FEX
</a>
|
<a
href=
"https://github.com/fex-team/kityminder.git"
target=
"_blank"
>
Source
</a>
|
<a
href=
"https://github.com/fex-team/kityminder/issues/new"
target=
"_blank"
>
Report a Bug
</a>
|
<a
href=
"mailto:kity@baidu.com"
target=
"_blank"
>
Contact Us
</a>
</p>
...
...
social/social.js
View file @
6dfb569a
...
...
@@ -158,6 +158,7 @@ $( function () {
baidu
.
frontia
.
storage
.
findData
(
query
,
{
success
:
function
(
ret
)
{
draftManager
.
create
();
minder
.
importData
(
ret
.
result
[
0
].
obj
.
shareMinder
.
data
,
'json'
);
$share_btn
.
loading
(
false
);
},
...
...
@@ -319,7 +320,7 @@ $( function () {
function
openFile
(
e
)
{
var
path
=
$
(
this
).
data
(
'value'
);
var
draft
=
draftManager
.
getCurrent
();
if
(
draft
.
path
==
path
)
{
if
(
draft
&&
draft
.
path
==
path
)
{
if
(
!
draft
.
sync
&&
window
.
confirm
(
'“'
+
getFileName
(
path
)
+
'”在草稿箱包含未保存的更改,确定加载网盘版本覆盖草稿箱中的版本吗?'
)
)
{
setRemotePath
(
path
,
true
);
loadRemote
();
...
...
src/module/editor.js
View file @
6dfb569a
...
...
@@ -171,7 +171,8 @@ KityMinder.registerModule( "TextEditModule", function () {
}
if
(
e
.
commandName
==
'priority'
||
e
.
commandName
==
'progress'
){
if
((
e
.
commandName
==
'priority'
||
e
.
commandName
==
'progress'
)
&&
this
.
getStatus
()
==
'textedit'
){
receiver
.
setBaseOffset
()
.
getTextOffsetData
();
...
...
src/module/history.js
View file @
6dfb569a
...
...
@@ -173,6 +173,9 @@ KityMinder.registerModule( "HistoryModule", function () {
km
.
historyManager
.
saveScene
()
}
}
},
"import"
:
function
(){
this
.
historyManager
.
reset
()
}
}
};
...
...
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