Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
易企天创
zui
提交
bd06ca05
Z
zui
项目概览
易企天创
/
zui
大约 1 年 前同步成功
通知
6
Star
0
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
37
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Z
zui
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
37
Issue
37
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
bd06ca05
编写于
1月 21, 2016
作者:
C
Catouse
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
* improve document UI.
上级
ca3f0682
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
15 addition
and
6 deletion
+15
-6
src/js/doc.js
src/js/doc.js
+9
-3
src/less/doc.less
src/less/doc.less
+6
-3
未找到文件。
src/js/doc.js
浏览文件 @
bd06ca05
...
...
@@ -1466,6 +1466,9 @@
};
var
isInLib
=
function
(
name
,
libNames
,
lib
)
{
if
(
name
===
'
button
'
)
{
console
.
log
(
'
isInLib
'
,
name
,
libNames
,
lib
);
}
if
(
libNames
)
{
var
len
=
libNames
.
length
;
name
=
name
.
toLowerCase
();
...
...
@@ -1474,11 +1477,14 @@
namesDot
=
name
+
'
s.
'
;
for
(
var
i
=
0
;
i
<
len
;
++
i
)
{
var
item
=
libNames
[
i
];
if
(
item
===
name
||
item
===
names
||
(
lib
&&
!
lib
.
src
&&
isInLib
(
name
,
lib
.
dpds
)))
{
if
(
item
===
name
||
item
===
names
||
item
.
startsWith
(
nameDot
)
||
item
.
startsWith
(
namesDot
))
{
if
(
name
===
'
button
'
)
console
.
log
(
'
isInLib>
'
,
true
);
return
true
;
}
}
// return lib && !lib.src && isInLib(name, lib.dpds);
}
if
(
name
===
'
button
'
)
console
.
log
(
'
isInLib>
'
,
false
);
return
false
;
};
...
...
@@ -1564,9 +1570,9 @@
}
});
}
if
(
lib
.
dpds
&&
lib
.
dpds
)
{
if
(
lib
.
dpds
)
{
lib
.
dpds
.
forEach
(
function
(
dpdsName
)
{
if
(
dpdsName
.
startsWith
(
libName
)
&&
pkg
.
lib
[
dpdsName
]
&&
!
pkg
.
lib
[
dpdsName
])
{
if
(
dpdsName
.
startsWith
(
libName
)
&&
pkg
.
lib
[
dpdsName
]
&&
!
pkg
.
lib
[
dpdsName
]
.
thirdpart
)
{
getLibSource
(
pkg
.
lib
[
dpdsName
],
src
,
libName
);
}
});
...
...
src/less/doc.less
浏览文件 @
bd06ca05
...
...
@@ -270,9 +270,9 @@
-webkit-animation-timing-function: ease-in-out
}
.example.no-padding {
padding: 0;
}
.example.no-padding {
padding: 0;}
.example.borderless {border: none
}
.example > *:last-child {
margin-bottom: 0;
...
...
@@ -285,6 +285,9 @@ pre {
border-color: #ddd;
padding: 10px 20px;
}
pre.linenums {
padding: 10px;
}
.example + pre,
pre + pre {
margin: -15px 0 15px;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录