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
bd435c0a
Commit
bd435c0a
authored
Jul 27, 2014
by
techird
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
release 1.2.1
parent
f555c541
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
65 additions
and
90 deletions
+65
-90
index.html
dist/index.html
+11
-11
kityminder.all.js
dist/kityminder.all.js
+24
-37
kityminder.all.min.js
dist/kityminder.all.min.js
+2
-2
social.js
dist/social/social.js
+2
-1
social.js
social/social.js
+2
-2
layout.js
src/core/layout.js
+24
-37
No files found.
dist/index.html
View file @
bd435c0a
...
@@ -7,26 +7,26 @@
...
@@ -7,26 +7,26 @@
<meta
name=
"description"
content=
"百度脑图,便捷的脑图编辑工具。让您在线上直接创建、保存并分享你的思路。"
>
<meta
name=
"description"
content=
"百度脑图,便捷的脑图编辑工具。让您在线上直接创建、保存并分享你的思路。"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, user-scalable=no"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, user-scalable=no"
>
<script
src=
"lib/jquery-2.1.0.min.js?_=140619
388642
1"
charset=
"utf-8"
></script>
<script
src=
"lib/jquery-2.1.0.min.js?_=140619
656761
1"
charset=
"utf-8"
></script>
<script
src=
"lib/ZeroClipboard.min.js?_=140619
388642
1"
charset=
"utf-8"
></script>
<script
src=
"lib/ZeroClipboard.min.js?_=140619
656761
1"
charset=
"utf-8"
></script>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
ZeroClipboard
.
setDefaults
(
{
moviePath
:
'lib/ZeroClipboard.swf'
}
);
ZeroClipboard
.
setDefaults
(
{
moviePath
:
'lib/ZeroClipboard.swf'
}
);
</script>
</script>
<script
src=
"lib/kity.min.js?_=140619
388642
1"
charset=
"utf-8"
></script>
<script
src=
"lib/kity.min.js?_=140619
656761
1"
charset=
"utf-8"
></script>
<script
src=
"kityminder.all.min.js?_=140619
388642
1"
charset=
"utf-8"
></script>
<script
src=
"kityminder.all.min.js?_=140619
656761
1"
charset=
"utf-8"
></script>
<script
src=
"kityminder.config.js?_=140619
388642
1"
charset=
"utf-8"
></script>
<script
src=
"kityminder.config.js?_=140619
656761
1"
charset=
"utf-8"
></script>
<script
src=
"lang/zh-cn/zh-cn.js?_=140619
388642
1"
charset=
"utf-8"
></script>
<script
src=
"lang/zh-cn/zh-cn.js?_=140619
656761
1"
charset=
"utf-8"
></script>
<script
src=
"lib/zip.js?_=140619
388642
1"
charset=
"utf-8"
></script>
<script
src=
"lib/zip.js?_=140619
656761
1"
charset=
"utf-8"
></script>
<script>
<script>
zip
.
inflateJSPath
=
'lib/inflate.js'
;
zip
.
inflateJSPath
=
'lib/inflate.js'
;
</script>
</script>
<script
src=
"lib/jquery.xml2json.js?_=140619
388642
1"
charset=
"utf-8"
></script>
<script
src=
"lib/jquery.xml2json.js?_=140619
656761
1"
charset=
"utf-8"
></script>
<script
src=
"lib/baidu-frontia-js-full-1.0.0.js?_=140619
388642
1"
charset=
"utf-8"
></script>
<script
src=
"lib/baidu-frontia-js-full-1.0.0.js?_=140619
656761
1"
charset=
"utf-8"
></script>
<script
src=
"social/draftmanager.js?_=140619
388642
1"
charset=
"utf-8"
></script>
<script
src=
"social/draftmanager.js?_=140619
656761
1"
charset=
"utf-8"
></script>
<script
src=
"social/social.js?_=140619
388642
1"
charset=
"utf-8"
></script>
<script
src=
"social/social.js?_=140619
656761
1"
charset=
"utf-8"
></script>
<link
href=
"social/social.css"
rel=
"stylesheet"
>
<link
href=
"social/social.css"
rel=
"stylesheet"
>
<link
href=
"themes/default/css/import.css"
type=
"text/css"
rel=
"stylesheet"
/>
<link
href=
"themes/default/css/import.css"
type=
"text/css"
rel=
"stylesheet"
/>
...
...
dist/kityminder.all.js
View file @
bd435c0a
...
@@ -2508,7 +2508,6 @@ kity.extendClass(Minder, {
...
@@ -2508,7 +2508,6 @@ kity.extendClass(Minder, {
matrix
.
m
.
e
=
Math
.
round
(
matrix
.
m
.
e
);
matrix
.
m
.
e
=
Math
.
round
(
matrix
.
m
.
e
);
matrix
.
m
.
f
=
Math
.
round
(
matrix
.
m
.
f
);
matrix
.
m
.
f
=
Math
.
round
(
matrix
.
m
.
f
);
if
(
!
matrix
.
equals
(
lastMatrix
))
{
// 如果当前有动画,停止动画
// 如果当前有动画,停止动画
if
(
node
.
_layoutTimeline
)
{
if
(
node
.
_layoutTimeline
)
{
...
@@ -2542,18 +2541,6 @@ kity.extendClass(Minder, {
...
@@ -2542,18 +2541,6 @@ kity.extendClass(Minder, {
});
});
consume
();
consume
();
}
}
}
else
{
// 可能位置没有改变,但是相关布局变量变了
me
.
fire
(
'layoutapply'
,
{
node
:
node
,
matrix
:
matrix
});
me
.
fire
(
'layoutfinish'
,
{
node
:
node
,
matrix
:
matrix
});
consume
();
}
for
(
var
i
=
0
;
i
<
node
.
children
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
node
.
children
.
length
;
i
++
)
{
apply
(
node
.
children
[
i
],
matrix
);
apply
(
node
.
children
[
i
],
matrix
);
...
...
dist/kityminder.all.min.js
View file @
bd435c0a
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/social/social.js
View file @
bd435c0a
...
@@ -740,8 +740,9 @@ $(function() {
...
@@ -740,8 +740,9 @@ $(function() {
// 确定上传文件名
// 确定上传文件名
if
(
!
remotePath
)
{
if
(
!
remotePath
)
{
filename
=
window
.
prompt
(
'请输入文件名: '
,
minder
.
getMinderTitle
());
filename
=
window
.
prompt
(
'请输入文件名: '
,
minder
.
getMinderTitle
()
.
replace
(
/
[\/\\\:\?\|\<\>\"\'\*]
/g
,
''
)
);
if
(
!
filename
)
return
;
if
(
!
filename
)
return
;
filename
=
filename
.
replace
(
/
[\/\\\:\?\|\<\>\"\'\*]
/g
,
''
);
uploadPath
=
generateRemotePath
(
filename
);
uploadPath
=
generateRemotePath
(
filename
);
}
else
{
}
else
{
uploadPath
=
remotePath
;
uploadPath
=
remotePath
;
...
...
social/social.js
View file @
bd435c0a
...
@@ -740,9 +740,9 @@ $(function() {
...
@@ -740,9 +740,9 @@ $(function() {
// 确定上传文件名
// 确定上传文件名
if
(
!
remotePath
)
{
if
(
!
remotePath
)
{
filename
=
window
.
prompt
(
'请输入文件名: '
,
minder
.
getMinderTitle
().
replace
(
/
[\/\\\:\?\|\<\>\*]
/g
,
''
));
filename
=
window
.
prompt
(
'请输入文件名: '
,
minder
.
getMinderTitle
().
replace
(
/
[\/\\\:\?\|\<\>\
"\'\
*]
/g
,
''
));
if
(
!
filename
)
return
;
if
(
!
filename
)
return
;
filename
=
filename
.
replace
(
/
[\/\\\:\?\|\<\>\*]
/g
,
''
);
filename
=
filename
.
replace
(
/
[\/\\\:\?\|\<\>\
"\'\
*]
/g
,
''
);
uploadPath
=
generateRemotePath
(
filename
);
uploadPath
=
generateRemotePath
(
filename
);
}
else
{
}
else
{
uploadPath
=
remotePath
;
uploadPath
=
remotePath
;
...
...
src/core/layout.js
View file @
bd435c0a
...
@@ -227,7 +227,6 @@ kity.extendClass(Minder, {
...
@@ -227,7 +227,6 @@ kity.extendClass(Minder, {
matrix
.
m
.
e
=
Math
.
round
(
matrix
.
m
.
e
);
matrix
.
m
.
e
=
Math
.
round
(
matrix
.
m
.
e
);
matrix
.
m
.
f
=
Math
.
round
(
matrix
.
m
.
f
);
matrix
.
m
.
f
=
Math
.
round
(
matrix
.
m
.
f
);
if
(
!
matrix
.
equals
(
lastMatrix
))
{
// 如果当前有动画,停止动画
// 如果当前有动画,停止动画
if
(
node
.
_layoutTimeline
)
{
if
(
node
.
_layoutTimeline
)
{
...
@@ -261,18 +260,6 @@ kity.extendClass(Minder, {
...
@@ -261,18 +260,6 @@ kity.extendClass(Minder, {
});
});
consume
();
consume
();
}
}
}
else
{
// 可能位置没有改变,但是相关布局变量变了
me
.
fire
(
'layoutapply'
,
{
node
:
node
,
matrix
:
matrix
});
me
.
fire
(
'layoutfinish'
,
{
node
:
node
,
matrix
:
matrix
});
consume
();
}
for
(
var
i
=
0
;
i
<
node
.
children
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
node
.
children
.
length
;
i
++
)
{
apply
(
node
.
children
[
i
],
matrix
);
apply
(
node
.
children
[
i
],
matrix
);
...
...
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