Skip to content

Commit ba90505

Browse files
committed
[self] update & test
1 parent e97ea15 commit ba90505

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

_includes/about/zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Hey,我是黄玄,病毒种,进化程度不明,多出没于[博客](https
1010

1111
##### Talks
1212

13-
- 即将 · [Upgrading to Progressive Web Apps](http://2017.jsconf.cn/) · [JSConfCN 上海 2017](http://2017.jsconf.cn/)
13+
- [Upgrading to Progressive Web Apps](http://2017.jsconf.cn/) · 即将 · [JSConfCN 上海 2017](http://2017.jsconf.cn/)
1414
- [Building Progressive Web Apps](https://yanshuo.io/assets/player/?deck=594d673d570c357d0698a950) · [CSDI 广州 2017](http://www.csdisummit.com/)
1515
- [The State of Progressive Web App](https://yanshuo.io/assets/player/?deck=593ad6fbfe88c2006a0a0d6d#/) · GDG IO Redux 北京 2017
1616
- [Service Worker 101](//huangxuan.me/2016/11/20/sw-101-gdgdf/) · GDG DevFest 北京 2016

sw.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ const PRECACHE_LIST = [
2525
"./img/404-bg.jpg",
2626
"./css/hux-blog.min.css",
2727
"./css/syntax.css",
28-
"./css/bootstrap.min.css",
29-
"//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css",
30-
"//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/fonts/fontawesome-webfont.woff2?v=4.6.3",
31-
"//cdnjs.cloudflare.com/ajax/libs/fastclick/1.0.6/fastclick.min.js"
28+
"./css/bootstrap.min.css"
29+
// "//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css",
30+
// "//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/fonts/fontawesome-webfont.woff2?v=4.6.3",
31+
// "//cdnjs.cloudflare.com/ajax/libs/fastclick/1.0.6/fastclick.min.js"
3232
]
3333
const HOSTNAME_WHITELIST = [
3434
self.location.hostname,
@@ -193,7 +193,7 @@ self.addEventListener('fetch', event => {
193193
function sendMessageToAllClients(msg) {
194194
self.clients.matchAll().then(clients => {
195195
clients.forEach(client => {
196-
//console.log(client);
196+
console.log(client);
197197
client.postMessage(msg)
198198
})
199199
})

0 commit comments

Comments
 (0)