You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ta...@apache.org on 2017/07/28 09:11:41 UTC

[02/43] incubator-weex git commit: * [html5] osName on android should be in lowercase

* [html5] osName on android should be in lowercase


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/f8da7d99
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/f8da7d99
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/f8da7d99

Branch: refs/heads/0.16-dev
Commit: f8da7d99ddef22bccd0a17a208afe27b2b8a1dc1
Parents: a35c690
Author: MrRaindrop <te...@gmail.com>
Authored: Fri Jun 30 11:03:03 2017 +0800
Committer: MrRaindrop <te...@gmail.com>
Committed: Fri Jun 30 11:03:03 2017 +0800

----------------------------------------------------------------------
 html5/render/vue/env/wx-env.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/f8da7d99/html5/render/vue/env/wx-env.js
----------------------------------------------------------------------
diff --git a/html5/render/vue/env/wx-env.js b/html5/render/vue/env/wx-env.js
index 4da3174..ecdf2ec 100644
--- a/html5/render/vue/env/wx-env.js
+++ b/html5/render/vue/env/wx-env.js
@@ -34,7 +34,7 @@ export function initEnv (viewportInfo, envInfo) {
     osName = 'iOS'
   }
   else if (osName.match(/Android/i)) {
-    osName = 'Android'
+    osName = 'android'
   }
   const osVersion = envInfo.os.version.val
   const env = {