* [doc] correct platform information.x
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/21a8032f Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/21a8032f Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/21a8032f Branch: refs/heads/0.16-dev Commit: 21a8032fc332e2121488389706e26d5d2266b4e1 Parents: 44e959a Author: MrRaindrop <tekk...@gmail.com> Authored: Fri Jun 30 10:42:21 2017 +0800 Committer: MrRaindrop <tekk...@gmail.com> Committed: Fri Jun 30 10:42:21 2017 +0800 ---------------------------------------------------------------------- doc/source/cn/references/weex-variable.md | 2 +- doc/source/references/weex-variable.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/21a8032f/doc/source/cn/references/weex-variable.md ---------------------------------------------------------------------- diff --git a/doc/source/cn/references/weex-variable.md b/doc/source/cn/references/weex-variable.md index 4630681..0848441 100644 --- a/doc/source/cn/references/weex-variable.md +++ b/doc/source/cn/references/weex-variable.md @@ -19,7 +19,7 @@ has_chapter_content: true * `weexVersion: string`: Weex sdk çæ¬ã * `appName: string`: åºç¨ååã * `appVersion: string`: åºç¨çæ¬ã - * `platform: string`: å¹³å°ä¿¡æ¯ï¼æ¯ iOSãAndroid è¿æ¯ Webã + * `platform: string`: å¹³å°ä¿¡æ¯ï¼æ¯ 'iOS'ã'android' è¿æ¯ 'Web'ã * `osVersion: string`: ç³»ç»çæ¬ã * `deviceModel: string`: 设å¤åå· (ä» åçåºç¨)ã * `deviceWidth: number`: 设å¤å®½åº¦ãWeex é»è®¤ä»¥å®½åº¦ä¸º 750px åéé 渲æï¼è¦è·å¾750pxä¸çå±å¹é«åº¦ï¼å¯ä»¥éè¿ `height = 750/deviceWidth*deviceHeight` å ¬å¼è·å¾ï¼å¯ä»¥ä½¿ç¨å° CSS ä¸ï¼ç¨æ¥è®¾ç½®å ¨å±å°ºå¯¸ http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/21a8032f/doc/source/references/weex-variable.md ---------------------------------------------------------------------- diff --git a/doc/source/references/weex-variable.md b/doc/source/references/weex-variable.md index b55eef5..c8806af 100644 --- a/doc/source/references/weex-variable.md +++ b/doc/source/references/weex-variable.md @@ -18,7 +18,7 @@ This variable contains all the environment information for the current Weex page + `WeexVersion: string`: Weex sdk version. + `AppName: string`: application name. + `AppVersion: string`: app version. -+ `Platform: string`: platform information, that is iOS, Android or Web. ++ `Platform: string`: platform information, that is 'iOS', 'android' or 'Web'. + `OsVersion: string`: system version. + `DeviceModel: string`: device model (native application only). + `DeviceWidth: number`: device width