Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4561038

Browse files
committed
posts list time
1 parent3088189 commit4561038

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

‎dist/build.a36e563c.js‎renamed to ‎dist/build.a0a61a10.js‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎dist/build.a0a61a10.js.map‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎dist/build.a36e563c.js.map‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎dist/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!DOCTYPE html><htmllang="en"class="loading"><head><metacharset="UTF-8"><metahttp-equiv="X-UA-Compatible"content="IE=edge"><linkrel="shortcut icon"type="image/x-icon"href="/favicon.ico"><metaname="viewport"content="width=device-width,minimum-scale=1,maximum-scale=1,user-scalable=no"><title>Loading...</title><script>window.config=$config</script><script>varua=window.navigator.userAgent;if(ua.indexOf("MSIE")>-1||ua.match(/Trident\/7\./)){varhead=document.getElementsByTagName("head")[0],script=document.createElement("script");script.type="text/javascript",script.src="promise.js",head.appendChild(script)}</script><style>.error,.loading,.transition{height:100%}.errorbody,.loadingbody,.transitionbody{height:100%}#loader{text-align:center;position:fixed;z-index:3;left:0;top:0;height:100%;width:100%;opacity:0;visibility:hidden;-webkit-transition:all.3s ease;transition:all.3s ease;background-color:rgba(255,255,255,.95)}.loading#loader{opacity:1;visibility:visible}.loading#loaderdiv{display:inline-block;width:50px;height:50px;vertical-align:middle;-webkit-border-radius:3px;border-radius:3px;background-color:#fff;-webkit-box-shadow:003pxrgba(0,0,0,.15);box-shadow:003pxrgba(0,0,0,.15)}.loading#loaderdiv:before{content:'';width:26px;height:26px;display:block;margin:8px auto0;-webkit-border-radius:20px;border-radius:20px;-webkit-animation:loading.5s linear forwards infinite;animation:loading.5s linear forwards infinite;border-top:4px solid#0089fa;border-right:4px solid#ff002b;border-bottom:4px solid#ffa900;border-left:4px solid#00a753}.loading#loader:after{content:'';display:inline-block;height:100%;vertical-align:middle}@keyframes loading{100%{transform:rotate(360deg)}}@-webkit-keyframes loading{100%{-webkit-transform:rotate(360deg)}}</style></head><body><divclass="page home"><divid="user"></div><divid="posts"></div></div><divclass="page single"><divid="post"></div><divid="comments"></div></div><divid="loader"><div></div></div><scripttype="text/javascript"src="build.a36e563c.js"></script></body></html>
1+
<!DOCTYPE html><htmllang="en"class="loading"><head><metacharset="UTF-8"><metahttp-equiv="X-UA-Compatible"content="IE=edge"><linkrel="shortcut icon"type="image/x-icon"href="/favicon.ico"><metaname="viewport"content="width=device-width,minimum-scale=1,maximum-scale=1,user-scalable=no"><title>Loading...</title><script>window.config=$config</script><script>varua=window.navigator.userAgent;if(ua.indexOf("MSIE")>-1||ua.match(/Trident\/7\./)){varhead=document.getElementsByTagName("head")[0],script=document.createElement("script");script.type="text/javascript",script.src="promise.js",head.appendChild(script)}</script><style>.error,.loading,.transition{height:100%}.errorbody,.loadingbody,.transitionbody{height:100%}#loader{text-align:center;position:fixed;z-index:3;left:0;top:0;height:100%;width:100%;opacity:0;visibility:hidden;-webkit-transition:all.3s ease;transition:all.3s ease;background-color:rgba(255,255,255,.95)}.loading#loader{opacity:1;visibility:visible}.loading#loaderdiv{display:inline-block;width:50px;height:50px;vertical-align:middle;-webkit-border-radius:3px;border-radius:3px;background-color:#fff;-webkit-box-shadow:003pxrgba(0,0,0,.15);box-shadow:003pxrgba(0,0,0,.15)}.loading#loaderdiv:before{content:'';width:26px;height:26px;display:block;margin:8px auto0;-webkit-border-radius:20px;border-radius:20px;-webkit-animation:loading.5s linear forwards infinite;animation:loading.5s linear forwards infinite;border-top:4px solid#0089fa;border-right:4px solid#ff002b;border-bottom:4px solid#ffa900;border-left:4px solid#00a753}.loading#loader:after{content:'';display:inline-block;height:100%;vertical-align:middle}@keyframes loading{100%{transform:rotate(360deg)}}@-webkit-keyframes loading{100%{-webkit-transform:rotate(360deg)}}</style></head><body><divclass="page home"><divid="user"></div><divid="posts"></div></div><divclass="page single"><divid="post"></div><divid="comments"></div></div><divid="loader"><div></div></div><scripttype="text/javascript"src="build.a0a61a10.js"></script></body></html>

‎package-lock.json‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"Mirror",
3-
"version":"1.4.0",
3+
"version":"1.4.1",
44
"description":"A blog tool powered by GitHub issues",
55
"preferGlobal":true,
66
"bin": {

‎release/mirror.zip‎

11 Bytes
Binary file not shown.

‎src/api/issues.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class Issues extends Fetcher {
4343
login
4444
url
4545
}
46-
updatedAt
46+
createdAt
4747
labels(first:${this.labelsNum}) {
4848
edges {
4949
node {

‎src/template/issues.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function post(issue) {
77
const{
88
number,
99
title,
10-
updatedAt,
10+
createdAt,
1111
}=issue
1212
constlabels=issue.labels.edges
1313
.map(label=>`<span>#${label.node.name}</span>`)
@@ -19,7 +19,7 @@ function post(issue) {
1919
innerHTML:`
2020
<h2>${title}</h2>
2121
<div>${labels}</div>
22-
<p>${timeFormat(updatedAt)}</p>
22+
<p>${timeFormat(createdAt)}</p>
2323
`,
2424
})
2525
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp