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
fe4dfb37
Commit
fe4dfb37
authored
May 15, 2014
by
techird
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加失败日志
parent
ab848e50
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
social.js
social/social.js
+7
-0
No files found.
social/social.js
View file @
fe4dfb37
...
...
@@ -329,6 +329,10 @@ $( function () {
// 加载用户最近使用的文件
function
loadUserFiles
()
{
if
(
loadUserFiles
.
tryCount
>
1
)
{
console
.
warn
(
'加载用户最近使用的文件失败:第 '
+
loadUserFiles
.
tryCount
+
'次'
);
}
if
(
loadUserFiles
.
tryCount
>
3
)
{
notice
(
'加载最近脑图失败!'
);
loadUserFiles
.
tryCount
=
0
;
...
...
@@ -468,6 +472,9 @@ $( function () {
// 加载当前 remoteUrl 中制定的文件
function
loadRemote
()
{
if
(
loadRemote
.
tryCount
>
1
)
{
console
.
warn
(
'加载用户文件失败:第 '
+
loadUserFiles
.
tryCount
+
'次'
);
}
// 失败重试判断
if
(
loadRemote
.
tryCount
>
3
)
{
notice
(
'加载脑图失败!'
);
...
...
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