Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo
Commits
b1e3b345
Commit
b1e3b345
authored
Nov 07, 2015
by
Liang Ding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
630316b9
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
61 deletions
+1
-61
src/main/webapp/skins/finding/css/finding.min.css
src/main/webapp/skins/finding/css/finding.min.css
+1
-16
src/main/webapp/skins/finding/js/finding.min.js
src/main/webapp/skins/finding/js/finding.min.js
+0
-15
src/main/webapp/skins/mobile/js/l10n.min.js
src/main/webapp/skins/mobile/js/l10n.min.js
+0
-15
src/main/webapp/skins/yilia/js/yilia.min.js
src/main/webapp/skins/yilia/js/yilia.min.js
+0
-15
No files found.
src/main/webapp/skins/finding/css/finding.min.css
View file @
b1e3b345
This diff is collapsed.
Click to expand it.
src/main/webapp/skins/finding/js/finding.min.js
View file @
b1e3b345
/*
* Copyright (c) 2010-2015, b3log.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
var
Finding
=
{
init
:
function
(){
Util
.
killIE
(),
$
(
"
.scroll-down
"
).
click
(
function
(
t
){
t
.
preventDefault
();
var
o
=
$
(
this
),
n
=
$
(
"
html, body
"
),
e
=
o
.
attr
(
"
data-offset
"
)?
o
.
attr
(
"
data-offset
"
):
!
1
,
a
=
parseInt
(
e
);
n
.
stop
(
!
0
,
!
1
).
animate
({
scrollTop
:
$
(
this
.
hash
).
offset
().
top
+
a
},
500
)}),
$
(
"
body
"
).
click
(
function
(
t
){
0
===
$
(
t
.
target
).
closest
(
"
.nav
"
).
length
&&
$
(
"
body
"
).
hasClass
(
"
nav-opened
"
)
&&!
$
(
t
.
target
).
hasClass
(
"
icon-gotop
"
)
&&
$
(
"
body
"
).
removeClass
(
"
nav-opened
"
).
addClass
(
"
nav-closed
"
)}),
$
(
"
.menu-button
"
).
click
(
function
(
t
){
t
.
stopPropagation
(),
$
(
"
body
"
).
toggleClass
(
"
nav-opened nav-closed
"
)}),
$
(
"
body
"
).
append
(
'
<a class="icon-gotop fn-none" href="javascript:Util.goTop()"></a>
'
),
$
(
window
).
scroll
(
function
(){
$
(
window
).
scrollTop
()
>
$
(
window
).
height
()?
$
(
"
.icon-gotop
"
).
show
():
$
(
"
.icon-gotop
"
).
hide
()})},
share
:
function
(){
$
(
"
.share span
"
).
click
(
function
(){
var
t
=
$
(
this
).
data
(
"
type
"
),
o
=
encodeURIComponent
(
$
(
"
title
"
).
text
()),
n
=
$
(
"
.post-title a
"
).
attr
(
"
href
"
)?
$
(
"
.post-title a
"
).
attr
(
"
href
"
):
location
,
e
=
$
(
"
.post-content img:eq(0)
"
).
attr
(
"
src
"
),
a
=
{};
a
.
tencent
=
"
http://share.v.t.qq.com/index.php?c=share&a=index&title=
"
+
o
+
"
&url=
"
+
n
+
"
&pic=
"
+
e
,
a
.
weibo
=
"
http://v.t.sina.com.cn/share/share.php?title=
"
+
o
+
"
&url=
"
+
n
+
"
&pic=
"
+
e
,
a
.
google
=
"
https://plus.google.com/share?url=
"
+
n
,
a
.
twitter
=
"
https://twitter.com/intent/tweet?status=
"
+
o
+
"
"
+
n
,
window
.
open
(
a
[
t
],
"
_blank
"
,
"
top=100,left=200,width=648,height=618
"
)})}};
Finding
.
init
();
\ No newline at end of file
src/main/webapp/skins/mobile/js/l10n.min.js
View file @
b1e3b345
/*
* Copyright (c) 2010-2015, b3log.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
function
convertEntities
(
t
){
var
e
,
n
;
if
(
e
=
function
(
t
){
if
(
/&
[^
;
]
+;/
.
test
(
t
)){
var
e
=
document
.
createElement
(
"
div
"
);
return
e
.
innerHTML
=
t
,
e
.
firstChild
?
e
.
firstChild
.
nodeValue
:
t
}
return
t
},
"
string
"
==
typeof
t
)
return
e
(
t
);
if
(
"
object
"
==
typeof
t
)
for
(
n
in
t
)
"
string
"
==
typeof
t
[
n
]
&&
(
t
[
n
]
=
e
(
t
[
n
]));
return
t
}
\ No newline at end of file
src/main/webapp/skins/yilia/js/yilia.min.js
View file @
b1e3b345
/*
* Copyright (c) 2010-2015, b3log.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
var
Yilia
=
{
init
:
function
(){
Util
.
killIE
(),
this
.
resetTags
(),
$
(
window
).
scroll
(
function
(){
$
(
"
article
"
).
length
>
0
&&
0
===
$
(
"
article.post
"
).
length
&&
$
(
"
article:not(.show)
"
).
each
(
function
(){
$
(
this
).
offset
().
top
<=
$
(
window
).
scrollTop
()
+
$
(
window
).
height
()
-
$
(
this
).
height
()
/
7
&&
$
(
this
).
addClass
(
"
show
"
)}),
$
(
window
).
scrollTop
()
>
$
(
window
).
height
()?
$
(
"
.icon-goup
"
).
show
():
$
(
"
.icon-goup
"
).
hide
(),
1
===
$
(
"
article.post
"
).
length
&&
$
(
"
article.post
"
).
addClass
(
"
show
"
)}),
$
(
window
).
scroll
()},
resetTags
:
function
(){
$
(
"
a.tag
"
).
each
(
function
(
t
){
$
(
this
).
addClass
(
"
color
"
+
Math
.
ceil
(
4
*
Math
.
random
()))})},
share
:
function
(){
$
(
"
.share span
"
).
click
(
function
(){
var
t
=
$
(
this
).
data
(
"
type
"
),
i
=
encodeURIComponent
(
$
(
"
title
"
).
text
()),
o
=
$
(
"
.post-title a
"
).
attr
(
"
href
"
)?
$
(
"
.post-title a
"
).
attr
(
"
href
"
):
location
,
e
=
$
(
"
.post-content img:eq(0)
"
).
attr
(
"
src
"
),
n
=
{};
n
.
tencent
=
"
http://share.v.t.qq.com/index.php?c=share&a=index&title=
"
+
i
+
"
&url=
"
+
o
+
"
&pic=
"
+
e
,
n
.
weibo
=
"
http://v.t.sina.com.cn/share/share.php?title=
"
+
i
+
"
&url=
"
+
o
+
"
&pic=
"
+
e
,
n
.
google
=
"
https://plus.google.com/share?url=
"
+
o
,
n
.
twitter
=
"
https://twitter.com/intent/tweet?status=
"
+
i
+
"
"
+
o
,
window
.
open
(
n
[
t
],
"
_blank
"
,
"
top=100,left=200,width=648,height=618
"
)})}};
Yilia
.
init
();
\ No newline at end of file
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