File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ document.onfreeze = function() { … }
112112
113113` resume ` 事件在网页离开 Frozen 阶段,变为 Active / Passive / Hidden 阶段时触发。
114114
115- ` document.onresume ` 属性指定用户重新访问页面,是的页面离开 Frozen 阶段、进入可用阶段时调用的回调函数 。
115+ ` document.onresume ` 属性指的是页面离开 Frozen 阶段、进入可用状态时调用的回调函数 。
116116
117117``` javascript
118118function handleResume (e ) {
Original file line number Diff line number Diff line change 99 "prepush" : " npm update" ,
1010 "build" : " loppo --site \" Web API 教程\" --id webapi --theme wangdoc" ,
1111 "build-and-commit" : " npm run build && npm run commit" ,
12- "commit" : " gh-pages --dist dist --dest dist/webapi --branch master --repo git@github.com:wangdoc/website.git" ,
12+ "commit" : " gh-pages --dist dist --dest dist/webapi --branch master --add -- repo git@github.com:wangdoc/website.git" ,
1313 "chapter" : " loppo chapter" ,
1414 "test" : " echo \" Error: no test specified\" && exit 1"
1515 },
2727 "license" : " Creative Commons Attribution-ShareAlike License" ,
2828 "devDependencies" : {},
2929 "dependencies" : {
30- "gh-pages" : " ^1.2.0 " ,
30+ "gh-pages" : " latest " ,
3131 "husky" : " ^0.14.3" ,
32- "loppo" : " ^0.6.14 " ,
33- "loppo-theme-wangdoc" : " ^0.3.11 "
32+ "loppo" : " latest " ,
33+ "loppo-theme-wangdoc" : " latest "
3434 }
3535}
You can’t perform that action at this time.
0 commit comments