From 5a077f9668daf480a9d1f63f934933d2a6443d25 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=BC=A9=E6=B6=A1?=
Date: Mon, 22 Jun 2015 11:25:40 +0800
Subject: [PATCH 01/14] fix spelling error
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 7d06236..e6422b5 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
### Staticfile 网站文件
-如果你觉得网站的体验可以更好,那么你可以通过给你个 repo 添加代码来改进她。文件结构:
+如果你觉得网站的体验可以更好,那么你可以通过给这个 repo 添加代码来改进她。文件结构:
```bash
.
From 12e183ca62f923010174ea034595938093861d64 Mon Sep 17 00:00:00 2001
From: Xuanwo
Date: Mon, 23 Nov 2015 09:17:29 +0800
Subject: [PATCH 02/14] update README
---
README.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/README.md b/README.md
index e6422b5..dc0f8f6 100644
--- a/README.md
+++ b/README.md
@@ -7,8 +7,10 @@
├── CNAME
├── _config.yml
├── about.html # 简介 http://staticfile.org/about.html
+├── about_en.html # 英文版简介 http://staticfile.org/about_en.html
├── favicon.ico
├── index.html # 首页 http://staticfile.org/
+├── index_en.html # 英文版首页 http://staticfile.org/index_en.html
└── static
├── app.css # 所有页面的样式
├── app.js # 所有页面用到的 js 效果,我们使用 angular.js
From 72007d4653fb0ed05a3684992f8aa162dbb27ebe Mon Sep 17 00:00:00 2001
From: Xuanwo
Date: Mon, 23 Nov 2015 09:23:41 +0800
Subject: [PATCH 03/14] fix
https://github.com/staticfile/staticfile.github.com/pull/10
---
index.html | 7 ++++++-
index_en.html | 7 ++++++-
static/app.css | 1 +
static/app.js | 16 ++++++++++++++++
4 files changed, 29 insertions(+), 2 deletions(-)
diff --git a/index.html b/index.html
index ee7bebe..dbd0af8 100755
--- a/index.html
+++ b/index.html
@@ -23,7 +23,12 @@
我们的目标是提供这样一个仓库,让它尽可能全面收录优秀的开源库,并免费为之提供 CDN 加速服务,使之有更好的访问速度和稳定的环境。同时,我们也提供开源库源接入的入口,让所有人都可以提交开源库,包括 JS、CSS、image 和 swf 等静态文件。
$ npm install -g sfile // 安装工具,使用说明
-
+
diff --git a/index_en.html b/index_en.html
index fb8fda9..4ed288a 100755
--- a/index_en.html
+++ b/index_en.html
@@ -25,7 +25,12 @@
$ npm install -g sfile
CLI tool, instruction.
-
+
diff --git a/static/app.css b/static/app.css
index bf035b1..ae2b032 100644
--- a/static/app.css
+++ b/static/app.css
@@ -23,6 +23,7 @@ a{color:#1abc9c;}
#query{width:60%;margin:0 auto 3%;}
#query input{width:100%;padding:10px;border:5px solid #16a085;text-align:center;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:0;}
#query input:focus{outline:none;}
+#query-closebtn {position:relative;visibility:hidden;cursor: pointer;float: right;top:-32px;right:21px;width:16px;height:16px;background-image:url('cross.png');}
#popular{text-align:center;background:#ECF0F1;border-bottom:1px solid #ddd;padding:20px 0 8px;}
#popular span{display:inline-block;margin:0 10px 10px;line-height:1;}
diff --git a/static/app.js b/static/app.js
index 1a00cbb..d32a0ac 100644
--- a/static/app.js
+++ b/static/app.js
@@ -80,4 +80,20 @@ $('#search').on('click', '[data-toggle="showhide"]', function(e) {
var $target = $($(this).attr('href'));
$target.is(':visible') ? $target.slideUp('fast') : $target.show('fast');
+});
+
+// provides clear button on search box
+ $('#key').on('keyup keydown change focus', function(e) {
+ if ($(this).val().length > 0)
+ $('#query-closebtn').css('visibility', 'visible');
+ else
+ $('#query-closebtn').css('visibility', 'hidden');
+ });
+
+// makes clear button work
+ $('#query-closebtn').on('click', function(e) {
+ $('#key').val('');
+ $(this).css('visibility', 'hidden');
+ $('#key').focus(); // brings back focus to search box
+
});
\ No newline at end of file
From aad74d933a3c9997f7cfe61eb9829519382994b3 Mon Sep 17 00:00:00 2001
From: Xuanwo
Date: Mon, 23 Nov 2015 09:55:03 +0800
Subject: [PATCH 04/14] update README
---
about.html | 9 +++++++--
about_en.html | 9 +++++++--
index.html | 2 +-
index_en.html | 2 +-
4 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/about.html b/about.html
index 1ea5ca3..08d5dc0 100755
--- a/about.html
+++ b/about.html
@@ -93,8 +93,13 @@ 四、使用注意
虽然大多数库都是基于 MIT / BSD License 开源的,但在有某些库在个人/商业应用上是有区别的,比如 Highcharts 这个库,所以请大家在使用这些库的时候,最好能点击其网站、代码仓库(在搜索结果中有链接)中查看其开源协议。
五、作者和服务商
-
- 此仓库由 Sofish 、hfcorriez 和 ikbear 更新和维护。由国内优秀的云存储服务商 七牛云存储 提供存储和加速。国外源同步于 CDNJS ,感谢所有开源库作者的努力。
+ 历史维护者
+
+ 此仓库由Xuanwo 和sorcerer-ma 更新和维护。由国内优秀的云存储服务商 七牛云存储 提供存储和加速。国外源同步于 CDNJS ,感谢所有开源库作者的努力。
六、开源协议
diff --git a/about_en.html b/about_en.html
index 413b547..63d1622 100755
--- a/about_en.html
+++ b/about_en.html
@@ -92,8 +92,13 @@ 4. Policy
Most libs are licensed under MIT / BSD. However, there're libs like Highcharts that are commercial but free for personal use. If you are intending to use this service, please read the license carefully.
5. Author & CDN Provider
-
- The Site/Repo is maintained by Sofish , hfcorriez & ikbear . And the CDN is provided by Qiniu Tech . We also fetch updates from CDNJS .
+ Past Author
+
+ The Site/Repo is maintained by Xuanwo and sorcerer-ma . And the CDN is provided by Qiniu Tech . We also fetch updates from CDNJS .
6. License
diff --git a/index.html b/index.html
index dbd0af8..d942cd6 100755
--- a/index.html
+++ b/index.html
@@ -72,7 +72,7 @@ {{lib.name}}
diff --git a/index_en.html b/index_en.html
index 4ed288a..a249a67 100755
--- a/index_en.html
+++ b/index_en.html
@@ -73,7 +73,7 @@ {{lib.name}}
From 6d9e76a1fd33f590aa0debbe23aff070135ce830 Mon Sep 17 00:00:00 2001
From: Xuanwo
Date: Thu, 26 Nov 2015 00:04:17 +0800
Subject: [PATCH 05/14] add cross.png
---
static/cross.png | Bin 0 -> 537 bytes
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 static/cross.png
diff --git a/static/cross.png b/static/cross.png
new file mode 100644
index 0000000000000000000000000000000000000000..25d2816a6a456404ec56282cd61a811e9204e2bb
GIT binary patch
literal 537
zcmV+!0_OdRP)<;rx}G40j(sWhiTzgx3)m4*34#CqvVOxnRqY
z4JF1A$dfI)D*ZQA~`XM!M?Ype=8i%y9MAJ-q600h|sX#t{i&
zJ`9_8A7;3D_aRx96LbI}N8kd)S`GpP3nGwVZ53Hq(*&iK6XgI>96_q(L^}Xxcw)FO
zUNs&LmLyqDk^?}gedgkIc-8DUaGc~~n
Date: Fri, 15 Jan 2016 13:42:57 +0800
Subject: [PATCH 06/14] update cross.png, set it as 16*16 px
---
static/cross.png | Bin 537 -> 515 bytes
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/static/cross.png b/static/cross.png
index 25d2816a6a456404ec56282cd61a811e9204e2bb..8d108f950008f95962c255390b210e2297ea201d 100644
GIT binary patch
literal 515
zcmV+e0{s1nP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!~g&e!~vBn4jTXf0hmcdK~y+TWBd;U
z3={w+C`~q?t^u`OGZ-90God_G@btxN22nj%h8uSuKt-Sc6b2x$YV)4|0-BEh)$Kz5
z`^FbSMIivF`M-jh-+x`_i2wW=4p31DfV&{n$C)7}$dlps?>`K;?muSmODF=1gKW0;
zPiElf=V5sJ{v*S-#go9|Fn|#Yxi#Gk+x8t}U}s}xP*Id+xcBfW0}Bf?!|S*28P?3|
zVz4yUfvSW6tkGD~G?8J)f#YC}%uGxSU%&leSU9nP!Q4{QmO?7!I%CVS)}&3;=1i2}ofO
z1ZsZq`W?f{ne7aoj#dmme*QuUSQG#X0}!}z=fQtzBd`Aku2KIb4L$##xp)mK^Z$QN
zb=Q9-%K&f`yF_F|MIiw00)9ST22M_PpmX0aY+lgIV63MJm0@6*+)~Qm<;rx}G40j(sWhiTzgx3)m4*34#CqvVOxnRqY
z4JF1A$dfI)D*ZQA~`XM!M?Ype=8i%y9MAJ-q600h|sX#t{i&
zJ`9_8A7;3D_aRx96LbI}N8kd)S`GpP3nGwVZ53Hq(*&iK6XgI>96_q(L^}Xxcw)FO
zUNs&LmLyqDk^?}gedgkIc-8DUaGc~~n
Date: Mon, 23 Nov 2015 09:55:03 +0800
Subject: [PATCH 07/14] update README
---
static/app.js | 18 +-----------------
1 file changed, 1 insertion(+), 17 deletions(-)
diff --git a/static/app.js b/static/app.js
index d32a0ac..8983915 100644
--- a/static/app.js
+++ b/static/app.js
@@ -19,7 +19,7 @@ function libListCtrl($scope) {
tag = tag ? ('search?q=' + tag) : (($scope.isPopular = true), popular);
- return $.getJSON('http://api.staticfile.org/v1/' + tag).done(function(data) {
+ return $.getJSON('http://api.staticfile.qiniu.io/v1/' + tag).done(function(data) {
$scope.$apply(function(){
$scope.libs = data['libs'];
});
@@ -81,19 +81,3 @@ $('#search').on('click', '[data-toggle="showhide"]', function(e) {
$target.is(':visible') ? $target.slideUp('fast') : $target.show('fast');
});
-
-// provides clear button on search box
- $('#key').on('keyup keydown change focus', function(e) {
- if ($(this).val().length > 0)
- $('#query-closebtn').css('visibility', 'visible');
- else
- $('#query-closebtn').css('visibility', 'hidden');
- });
-
-// makes clear button work
- $('#query-closebtn').on('click', function(e) {
- $('#key').val('');
- $(this).css('visibility', 'hidden');
- $('#key').focus(); // brings back focus to search box
-
-});
\ No newline at end of file
From cdf7a580cf290e9cac66bb48070f37fca5f7ed35 Mon Sep 17 00:00:00 2001
From: NightEndSorcerer
Date: Sat, 6 Feb 2016 16:37:12 +0800
Subject: [PATCH 08/14] Upgrade AngularJS to 1.4.8
---
index.html | 2 +-
static/app.js | 6 ++++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/index.html b/index.html
index d942cd6..177ad57 100755
--- a/index.html
+++ b/index.html
@@ -76,7 +76,7 @@ {{lib.name}}
-
+
+
+
From b17dafc1d44024ac0556796246c427d7956c5fda Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=A9=AC=E9=80=B8=E6=B8=85?=
Date: Fri, 31 Mar 2023 10:35:22 +0800
Subject: [PATCH 12/14] Update index.html
---
index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.html b/index.html
index 9345d2b..290e99c 100755
--- a/index.html
+++ b/index.html
@@ -3,7 +3,7 @@
-
+
开放静态文件 CDN - 为开源库提供稳定、快速的免费 CDN 服务
From a71186e0a3742f25ec53075c932111d04e8c303f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=A9=AC=E9=80=B8=E6=B8=85?=
Date: Fri, 31 Mar 2023 10:36:40 +0800
Subject: [PATCH 13/14] Update index.html
---
index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.html b/index.html
index 290e99c..6f51afb 100755
--- a/index.html
+++ b/index.html
@@ -4,7 +4,7 @@
- 开放静态文件 CDN - 为开源库提供稳定、快速的免费 CDN 服务
+ 开放静态文件 CDN - 为开源库提供稳定、快速的免费 CDN 服务 - powered by 七牛
From ddf4baaf6c8f355fe8db7923f5bd8555527c48be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=A9=AC=E9=80=B8=E6=B8=85?=
Date: Fri, 31 Mar 2023 10:37:17 +0800
Subject: [PATCH 14/14] Update about.html
---
about.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/about.html b/about.html
index 08d5dc0..1bf2f54 100755
--- a/about.html
+++ b/about.html
@@ -3,8 +3,8 @@
-
- 简介 - 开放静态文件 CDN
+
+ 简介 - 开放静态文件 CDN - powered by 七牛