Skip to content

Commit

Permalink
display UA on kitchen-sink about page for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
minwe committed May 19, 2016
1 parent d72e6ce commit 22eef39
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/getting-started/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
### 开发环境配置

- 下载安装 [Node.js](https://nodejs.org/en/download/)(推荐使用 `4.x` LTS 最新正式版)
- 一些 npm 模块编译需要环境支持,Windows 用户会麻烦一些,具体配置说明参见:https://github.com/nodejs/node-gyp#installation
- 一些 npm 模块编译需要环境支持,Windows 用户会麻烦一些,具体配置说明参见:
- [https://github.com/nodejs/node-gyp#installation]()
- [Setting up Node.js on Windows 10](https://blog.risingstack.com/node-js-windows-10-tutorial/)

### 预备知识

Expand Down
5 changes: 5 additions & 0 deletions kitchen-sink/pages/About.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ const About = React.createClass({
>
<p>MIT © 2015 - {this.props.year} AllMobilize Inc.</p>
</Group>
<Group
header="UA"
>
<p><code>{navigator.userAgent}</code></p>
</Group>
</Container>
)
}
Expand Down
1 change: 0 additions & 1 deletion kitchen-sink/pages/NavBarExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ const NavBarExample = React.createClass({
render() {
return (
<Container {...this.props}>
{/*<p>{navigator.userAgent}</p>*/}
<Group
header="颜色样式"
>
Expand Down

0 comments on commit 22eef39

Please sign in to comment.