Skip to content

Commit 7b844f4

Browse files
author
binaryify
committed
improve
1 parent 26ef850 commit 7b844f4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README-EN.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ Not only refers to the screen adaptation, `but the change of input depending on
1515
![phone](https://img.alicdn.com/tps/TB1kvJyOVXXXXbhaFXXXXXXXXXX-320-555.gif)
1616

1717
### Data persistence
18-
![previes](http://static.binaryify.com/persistence.gif)
18+
![previes](https://static.binaryify.com/persistence.gif)
1919
[video](https://www.youtube.com/watch?v=SzTNX7rg9Qg)
2020

2121
What's the worst can happen when you're playing stand-alone games? Power outage. The state is stored in the `localStorage` by subscribing to `store.subscribe`, which records exactly all the state. Web page refreshes, the program crashes, the phone is dead, just re-open the connection and you can continue playing.
2222

2323
### Vuex state preview ([Vue DevTools extension](https://github.com/vuejs/vue-devtools))
24-
![preview](http://static.binaryify.com/vuex.gif)
24+
![preview](https://static.binaryify.com/vuex.gif)
2525

2626
[video](https://www.youtube.com/watch?v=iuoSSTqSAUE)
2727

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ Please view [README.md](https://github.com/Binaryify/vue-tetris/blob/master/READ
2323

2424
### 数据持久化
2525

26-
[视频](http://static.binaryify.com/persistence.mp4)
26+
[视频](https://static.binaryify.com/persistence.mp4)
2727

2828
玩单机游戏最怕什么?断电。通过订阅 `store.subscribe`,将state储存在localStorage,精确记录所有状态。网页关了刷新了、程序崩溃了、手机没电了,重新打开连接,都可以继续。
2929

3030
### Vuex 状态预览([Vue DevTools extension](https://github.com/vuejs/vue-devtools)
31-
![preview](http://static.binaryify.com/vuex.gif)
31+
![preview](https://static.binaryify.com/vuex.gif)
3232

33-
[视频](http://static.binaryify.com/vuex.mp4)
33+
[视频](https://static.binaryify.com/vuex.mp4)
3434

3535
Vuex 设计管理了所有应存的状态,这是上面持久化的保证。
3636

0 commit comments

Comments
 (0)