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
3ba1ebcb
Commit
3ba1ebcb
authored
May 09, 2014
by
techird
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
grunt
parent
02cb6e78
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
32 deletions
+32
-32
index.html
dist/index.html
+11
-11
kitygraph.all.js
dist/lib/kitygraph.all.js
+19
-19
kitygraph.all.min.js
dist/lib/kitygraph.all.min.js
+1
-1
kity
kity
+1
-1
No files found.
dist/index.html
View file @
3ba1ebcb
...
...
@@ -7,26 +7,26 @@
<meta
name=
"description"
content=
"百度脑图,便捷的脑图编辑工具。让您在线上直接创建、保存并分享你的思路。"
>
<script
src=
"lib/jquery-2.1.0.min.js?_=1399630
582836
"
charset=
"utf-8"
></script>
<script
src=
"lib/ZeroClipboard.min.js?_=1399630
582836
"
charset=
"utf-8"
></script>
<script
src=
"lib/jquery-2.1.0.min.js?_=1399630
846430
"
charset=
"utf-8"
></script>
<script
src=
"lib/ZeroClipboard.min.js?_=1399630
846430
"
charset=
"utf-8"
></script>
<script
type=
"text/javascript"
>
ZeroClipboard
.
setDefaults
(
{
moviePath
:
'lib/ZeroClipboard.swf'
}
);
</script>
<script
src=
"lib/kitygraph.all.min.js?_=1399630
582836
"
charset=
"utf-8"
></script>
<script
src=
"kityminder.all.min.js?_=1399630
582836
"
charset=
"utf-8"
></script>
<script
src=
"kityminder.config.js?_=1399630
582836
"
charset=
"utf-8"
></script>
<script
src=
"lang/zh-cn/zh-cn.js?_=1399630
582836
"
charset=
"utf-8"
></script>
<script
src=
"lib/kitygraph.all.min.js?_=1399630
846430
"
charset=
"utf-8"
></script>
<script
src=
"kityminder.all.min.js?_=1399630
846430
"
charset=
"utf-8"
></script>
<script
src=
"kityminder.config.js?_=1399630
846430
"
charset=
"utf-8"
></script>
<script
src=
"lang/zh-cn/zh-cn.js?_=1399630
846430
"
charset=
"utf-8"
></script>
<script
src=
"lib/zip.js?_=1399630
582836
"
charset=
"utf-8"
></script>
<script
src=
"lib/zip.js?_=1399630
846430
"
charset=
"utf-8"
></script>
<script>
zip
.
inflateJSPath
=
'lib/inflate.js'
;
</script>
<script
src=
"lib/jquery.xml2json.js?_=1399630
582836
"
charset=
"utf-8"
></script>
<script
src=
"lib/baidu-frontia-js-full-1.0.0.js?_=1399630
582836
"
charset=
"utf-8"
></script>
<script
src=
"social/draftmanager.js?_=1399630
582836
"
charset=
"utf-8"
></script>
<script
src=
"social/social.js?_=1399630
582836
"
charset=
"utf-8"
></script>
<script
src=
"lib/jquery.xml2json.js?_=1399630
846430
"
charset=
"utf-8"
></script>
<script
src=
"lib/baidu-frontia-js-full-1.0.0.js?_=1399630
846430
"
charset=
"utf-8"
></script>
<script
src=
"social/draftmanager.js?_=1399630
846430
"
charset=
"utf-8"
></script>
<script
src=
"social/social.js?_=1399630
846430
"
charset=
"utf-8"
></script>
<link
href=
"social/social.css"
rel=
"stylesheet"
>
<link
href=
"themes/default/css/import.css"
type=
"text/css"
rel=
"stylesheet"
/>
...
...
dist/lib/kitygraph.all.js
View file @
3ba1ebcb
...
...
@@ -4846,7 +4846,8 @@ define("graphic/text", [ "graphic/textcontent", "graphic/shape", "core/class", "
var
svg
=
require
(
"graphic/svg"
);
var
offsetHash
=
{};
function
getTextBoundOffset
(
text
)
{
var
font
=
window
.
getComputedStyle
(
text
.
node
).
font
;
var
style
=
window
.
getComputedStyle
(
text
.
node
);
var
font
=
[
style
.
fontFamily
,
style
.
fontSize
,
style
.
fontStretch
,
style
.
fontStyle
,
style
.
fontVariant
,
style
.
fontWeight
].
join
(
"-"
);
if
(
offsetHash
[
font
])
{
return
offsetHash
[
font
];
}
...
...
@@ -4866,9 +4867,6 @@ define("graphic/text", [ "graphic/textcontent", "graphic/shape", "core/class", "
if
(
content
!==
undefined
)
{
this
.
setContent
(
content
);
}
this
.
whenPaperReady
(
function
()
{
this
.
setVerticalAlign
(
this
.
verticalAlign
);
});
},
setX
:
function
(
x
)
{
this
.
node
.
setAttribute
(
"x"
,
x
);
...
...
@@ -4900,6 +4898,7 @@ define("graphic/text", [ "graphic/textcontent", "graphic/shape", "core/class", "
},
// top/bottom/middle/baseline
setVerticalAlign
:
function
(
align
)
{
this
.
whenPaperReady
(
function
()
{
var
dy
;
switch
(
align
)
{
case
"top"
:
...
...
@@ -4918,6 +4917,7 @@ define("graphic/text", [ "graphic/textcontent", "graphic/shape", "core/class", "
dy
=
0
;
}
this
.
node
.
setAttribute
(
"dy"
,
dy
);
});
this
.
verticalAlign
=
align
;
return
this
;
},
...
...
dist/lib/kitygraph.all.min.js
View file @
3ba1ebcb
This source diff could not be displayed because it is too large. You can
view the blob
instead.
kity
@
256dce28
Subproject commit
d4e00b314db4116a92583114bcb67ff9a3c4d48d
Subproject commit
256dce28fb1e574b18f0dd084f7503cbc25e2a80
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