You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by da...@apache.org on 2017/04/11 03:15:03 UTC

[01/10] incubator-weex git commit: + [doc] add box-shadow doc , update textarea, scrolltoelement

Repository: incubator-weex
Updated Branches:
  refs/heads/dev 1e923a4d1 -> 6bd212e65


+ [doc] add box-shadow doc , update textarea,scrolltoelement


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

Branch: refs/heads/dev
Commit: 7a091206235ad0ef2a32d61f4548431bd0a8d08c
Parents: 5529bb1
Author: \u9f50\u5c71 <su...@163.com>
Authored: Wed Mar 29 18:34:46 2017 +0800
Committer: \u9f50\u5c71 <su...@163.com>
Committed: Wed Mar 29 18:34:46 2017 +0800

----------------------------------------------------------------------
 doc/source/cn/references/common-style.md     | 82 ++++++++++++++++++-----
 doc/source/cn/references/components/input.md | 14 +++-
 doc/source/cn/references/modules/dom.md      |  1 +
 3 files changed, 81 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/7a091206/doc/source/cn/references/common-style.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/references/common-style.md b/doc/source/cn/references/common-style.md
index 7abe9d3..782849b 100644
--- a/doc/source/cn/references/common-style.md
+++ b/doc/source/cn/references/common-style.md
@@ -35,45 +35,45 @@ Weex \u5bf9\u4e8e\u957f\u5ea6\u503c\u76ee\u524d\u53ea\u652f\u6301*\u50cf\u7d20*\u503c\uff0c\u4e0d\u652f\u6301\u76f8\u5bf9\u5355\u4f4d\uff08`em`\u3001
   \u5916\u8fb9\u8ddd\uff0c\u5143\u7d20\u548c\u5143\u7d20\u4e4b\u95f4\u7684\u7a7a\u767d\u8ddd\u79bb\u3002\u503c\u7c7b\u578b\u4e3a length\uff0c\u9ed8\u8ba4\u503c 0
 
   \u53ef\u6709\u5982\u4e0b\u5199\u6cd5\uff1a
-  
+
   - `margin-left {length}`\uff1a\uff0c\u9ed8\u8ba4\u503c 0
   - `margin-right {length}`\uff1a\uff0c\u9ed8\u8ba4\u503c 0
   - `margin-top {length}`\uff1a\uff0c\u9ed8\u8ba4\u503c 0
   - `margin-bottom {length}`\uff1a\uff0c\u9ed8\u8ba4\u503c 0
 - border\uff1a
-  
+
   \u8bbe\u5b9a\u8fb9\u6846\uff0c`border` \u76ee\u524d\u4e0d\u652f\u6301\u7c7b\u4f3c\u8fd9\u6837 `border: 1 solid #ff0000;` \u7684\u7ec4\u5408\u5199\u6cd5\u3002
 
   \u53ef\u6709\u5982\u4e0b\u5199\u6cd5\uff1a
-  
+
   - `border-style`\uff1a
 
     \u8bbe\u5b9a\u8fb9\u6846\u6837\u5f0f\uff0c\u503c\u7c7b\u578b\u4e3a string\uff0c\u53ef\u9009\u503c\u4e3a `solid` | `dashed` | `dotted`\uff0c\u9ed8\u8ba4\u503c `solid`
 
     \u53ef\u6709\u5982\u4e0b\u5199\u6cd5\uff1a
-  
+
     - `border-left-style {string}`\uff1a\u53ef\u9009\u503c\u4e3a `solid` | `dashed` | `dotted`\uff0c\u9ed8\u8ba4\u503c `solid`
     - `border-top-style {string}`\uff1a\u53ef\u9009\u503c\u4e3a `solid` | `dashed` | `dotted`\uff0c\u9ed8\u8ba4\u503c `solid`
     - `border-right-style {string}`\uff1a\u53ef\u9009\u503c\u4e3a `solid` | `dashed` | `dotted`\uff0c\u9ed8\u8ba4\u503c `solid`
     - `border-bottom-style {string}`\uff1a\u53ef\u9009\u503c\u4e3a `solid` | `dashed` | `dotted`\uff0c\u9ed8\u8ba4\u503c `solid`
 
   - `border-width {length}`\uff1a
-  
+
     \u8bbe\u5b9a\u8fb9\u6846\u5bbd\u5ea6\uff0c\u975e\u8d1f\u503c, \u9ed8\u8ba4\u503c 0
 
     \u53ef\u6709\u5982\u4e0b\u5199\u6cd5\uff1a
-  
+
     - `border-left-width {length}`\uff1a\uff0c\u975e\u8d1f\u503c, \u9ed8\u8ba4\u503c 0
     - `border-top-width {length}`\uff1a\uff0c\u975e\u8d1f\u503c, \u9ed8\u8ba4\u503c 0
     - `border-right-width {length}`\uff1a\uff0c\u975e\u8d1f\u503c, \u9ed8\u8ba4\u503c 0
     - `border-bottom-width {length}`\uff1a\uff0c\u975e\u8d1f\u503c, \u9ed8\u8ba4\u503c 0
 
   - `border-color {color}`\uff1a
-  
+
     \u8bbe\u5b9a\u8fb9\u6846\u989c\u8272\uff0c\u9ed8\u8ba4\u503c `#000000`
-  
+
     \u53ef\u6709\u5982\u4e0b\u5199\u6cd5\uff1a
-  
+
     - `border-left-color {color}`\uff1a\uff0c\u9ed8\u8ba4\u503c `#000000`
     - `border-top-color {color}`\uff1a\uff0c\u9ed8\u8ba4\u503c `#000000`
     - `border-right-color {color}`\uff1a\uff0c\u9ed8\u8ba4\u503c `#000000`
@@ -83,7 +83,7 @@ Weex \u5bf9\u4e8e\u957f\u5ea6\u503c\u76ee\u524d\u53ea\u652f\u6301*\u50cf\u7d20*\u503c\uff0c\u4e0d\u652f\u6301\u76f8\u5bf9\u5355\u4f4d\uff08`em`\u3001
     \u8bbe\u5b9a\u5706\u89d2\uff0c\u9ed8\u8ba4\u503c 0
 
     \u53ef\u6709\u5982\u4e0b\u5199\u6cd5\uff1a
-  
+
     - `border-bottom-left-radius {length}`\uff1a\uff0c\u975e\u8d1f\u503c, \u9ed8\u8ba4\u503c 0
     - `border-bottom-right-radius {length}`\uff1a\uff0c\u975e\u8d1f\u503c, \u9ed8\u8ba4\u503c 0
     - `border-top-left-radius {length}`\uff1a\uff0c\u975e\u8d1f\u503c, \u9ed8\u8ba4\u503c 0
@@ -228,7 +228,7 @@ flex \u5c5e\u6027\u5b9a\u4e49\u4e86 flex \u6210\u5458\u9879\u53ef\u4ee5\u5360\u7528\u5bb9\u5668\u4e2d\u5269\u4f59\u7a7a\u95f4\u7684\u5927\u5c0f\u3002
 Weex \u652f\u6301 `position` \u5b9a\u4f4d\uff0c\u7528\u6cd5\u4e0e CSS position \u7c7b\u4f3c\u3002\u4e3a\u5143\u7d20\u8bbe\u7f6e `position` \u540e\uff0c\u53ef\u901a\u8fc7 `top`\u3001`right`\u3001`bottom`\u3001`left` \u56db\u4e2a\u5c5e\u6027\u8bbe\u7f6e\u5143\u7d20\u5750\u6807\u3002
 
 - `position {string}`\uff1a
-  
+
   \u8bbe\u7f6e\u5b9a\u4f4d\u7c7b\u578b\u3002\u53ef\u9009\u503c\u4e3a `relative` | `absolute` | `fixed` | `sticky`\uff0c\u9ed8\u8ba4\u503c\u4e3a `relative`\u3002
 
   - `relative` \u662f\u9ed8\u8ba4\u503c\uff0c\u6307\u7684\u662f\u76f8\u5bf9\u5b9a\u4f4d\uff1b
@@ -243,7 +243,7 @@ Weex \u652f\u6301 `position` \u5b9a\u4f4d\uff0c\u7528\u6cd5\u4e0e CSS position \u7c7b\u4f3c\u3002\u4e3a\u5143\u7d20\u8bbe\u7f6e
 **\u6ce8\u610f\uff1a**
 
 1. Weex \u76ee\u524d\u4e0d\u652f\u6301 `z-index` \u8bbe\u7f6e\u5143\u7d20\u5c42\u7ea7\u5173\u7cfb\uff0c\u4f46\u9760\u540e\u7684\u5143\u7d20\u5c42\u7ea7\u66f4\u9ad8\uff0c\u56e0\u6b64\uff0c\u5bf9\u4e8e\u5c42\u7ea7\u9ad8\u7684\u5143\u7d20\uff0c\u53ef\u5c06\u5176\u6392\u5217\u5728\u540e\u9762\u3002
-2. \u5982\u679c\u5b9a\u4f4d\u5143\u7d20\u8d85\u8fc7\u5bb9\u5668\u8fb9\u754c\uff0c\u5728 Android \u4e0b\uff0c\u8d85\u51fa\u90e8\u5206\u5c06**\u4e0d\u53ef\u89c1**\uff0c\u539f\u56e0\u5728\u4e8e Android \u7aef\u5143\u7d20 `overflow` \u9ed8\u8ba4\u503c\u4e3a `hidden`\uff0c\u4f46\u76ee\u524d Android \u6682\u4e0d\u652f\u6301\u8bbe\u7f6e `overflow: visible`\u3002 
+2. \u5982\u679c\u5b9a\u4f4d\u5143\u7d20\u8d85\u8fc7\u5bb9\u5668\u8fb9\u754c\uff0c\u5728 Android \u4e0b\uff0c\u8d85\u51fa\u90e8\u5206\u5c06**\u4e0d\u53ef\u89c1**\uff0c\u539f\u56e0\u5728\u4e8e Android \u7aef\u5143\u7d20 `overflow` \u9ed8\u8ba4\u503c\u4e3a `hidden`\uff0c\u4f46\u76ee\u524d Android \u6682\u4e0d\u652f\u6301\u8bbe\u7f6e `overflow: visible`\u3002
 
 ### \u793a\u4f8b
 
@@ -320,19 +320,19 @@ Weex \u652f\u6301\u56db\u79cd\u4f2a\u7c7b\uff1a`active`, `focus`, `disabled`, `enabled`
 
 <style scoped>
   .wrapper {
-    align-items: center; 
+    align-items: center;
     margin-top: 120px;
   }
   .title {
     font-size: 48px;
   }
   .logo {
-    width: 360px; 
+    width: 360px;
     height: 82px;
     background-color: red;
   }
   .logo:active {
-    width: 180px; 
+    width: 180px;
     height: 82px;
     background-color: green;
   }
@@ -450,6 +450,58 @@ Weex \u76ee\u524d\u53ea\u652f\u6301\u4e24\u79cd\u989c\u8272\u7684\u6e10\u53d8\uff0c\u6e10\u53d8\u65b9\u5411\u5982\u4e0b\uff1a
 </style>
 ```
 
+## \u9634\u5f71(box-shadow) <span class="api-version">v0.11+</span>
+
+Weex \u652f\u6301\u9634\u5f71\u5c5e\u6027\uff1a`active`, `focus`, `disabled`, `enabled` `inset(\u53ef\u9009)`,`offset-x`,`offset-y`, `blur-radius`,`color`
+
+
+### \u6ce8\u610f
+
+- box-shadow\u4ec5\u4ec5\u652f\u6301iOS
+
+### \u793a\u4f8b
+
+```html
+<template>
+    <div class="wrapper">
+        <div style="width:400px; height:60px;background-color: #FFE4C4; box-shadow:20px  10px rgb(255, 69, 0);">
+            <text class="title" style="text-align: center">Hello {{target}}</text>
+        </div>
+        <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow: 20px  10px 5px rgba(255, 69, 0, 0.8);">
+            <text class="title" style="text-align: center">Hello {{target}}</text>
+        </div>
+        <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:inset 20px  10px 5px rgba(255, 69, 0, 0.8);">
+            <text class="title" style="text-align: center">Hello {{target}}</text>
+        </div>
+        <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:inset 20px  10px 5px rgb(255, 69, 0);">
+            <text class="title" style="text-align: center">Hello {{target}}</text>
+        </div>
+        <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:20px  10px 5px black;">
+            <text class="title" style="text-align: center">Hello {{target}}</text>
+        </div>
+        <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:20px  10px 5px #008B00;">
+            <text class="title" style="text-align: center">Hello {{target}}</text>
+        </div>
+    </div>
+</template>
+
+<style scoped>
+    .wrapper {align-items: center; margin-top: 120px;}
+    .title {font-size: 48px;}
+</style>
+
+<script>
+    module.exports = {
+        data: function () {
+            return {
+                logoUrl: 'https://alibaba.github.io/weex/img/weex_logo_blue@3x.png',
+                target: 'World'
+            };
+        }
+    };
+</script>
+```
+
 ## \u5176\u4ed6\u57fa\u672c\u6837\u5f0f
 
 - `opacity {number}`\uff1a\u53d6\u503c\u8303\u56f4\u4e3a [0, 1] \u533a\u95f4\u3002\u9ed8\u8ba4\u503c\u662f 1\uff0c\u5373\u5b8c\u5168\u4e0d\u900f\u660e\uff1b0 \u662f\u5b8c\u5168\u900f\u660e\uff1b0.5 \u662f 50% \u7684\u900f\u660e\u5ea6\u3002

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/7a091206/doc/source/cn/references/components/input.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/references/components/input.md b/doc/source/cn/references/components/input.md
index 97d4787..546960c 100644
--- a/doc/source/cn/references/components/input.md
+++ b/doc/source/cn/references/components/input.md
@@ -25,6 +25,7 @@ Weex \u5185\u7f6e\u7684 `<input>` \u7ec4\u4ef6\u7528\u6765\u521b\u5efa\u63a5\u6536\u7528\u6237\u8f93\u5165\u5b57\u7b26\u7684\u8f93\u5165\u7ec4
 - `disabled {boolean}`\uff1a\u5e03\u5c14\u7c7b\u578b\u7684\u6570\u636e\uff0c\u8868\u793a\u662f\u5426\u652f\u6301\u8f93\u5165\u3002\u901a\u5e38 `click` \u4e8b\u4ef6\u5728 `disabled` \u63a7\u4ef6\u4e0a\u662f\u5931\u6548\u7684\u3002
 - `autofocus {boolean}`\uff1a\u5e03\u5c14\u7c7b\u578b\u7684\u6570\u636e\uff0c\u8868\u793a\u662f\u5426\u5728\u9875\u9762\u52a0\u8f7d\u65f6\u63a7\u4ef6\u81ea\u52a8\u83b7\u5f97\u8f93\u5165\u7126\u70b9\u3002
 - `maxlength {nubmer}`\uff1a<sup class="wx-v">v0.7</sup>\u4e00\u4e2a\u6570\u503c\u7c7b\u578b\u7684\u503c\uff0c\u8868\u793a\u8f93\u5165\u7684\u6700\u5927\u957f\u5ea6\u3002
+- `return-key-type {string}`\uff1a<sup class="wx-v">v0.11</sup>\u952e\u76d8enter\u952e\u7684\u7c7b\u578b\u3002
 
 ## \u6837\u5f0f
 
@@ -84,6 +85,12 @@ Weex \u5185\u7f6e\u7684 `<input>` \u7ec4\u4ef6\u7528\u6765\u521b\u5efa\u63a5\u6536\u7528\u6237\u8f93\u5165\u5b57\u7b26\u7684\u8f93\u5165\u7ec4
   \u4e8b\u4ef6\u4e2d event \u5bf9\u8c61\u5c5e\u6027\uff1a
 
   - `timestamp`: \u4e8b\u4ef6\u53d1\u751f\u65f6\u7684\u65f6\u95f4\u6233\u3002
+- `return`: \u952e\u76d8\u70b9\u51fb\u786e\u8ba4\u6309\u94ae\u3002
+
+    \u4e8b\u4ef6\u4e2d event \u5bf9\u8c61\u5c5e\u6027\uff1a
+
+    - `returnKeyType`: \u4e8b\u4ef6\u53d1\u751f\u65f6\u7684enter\u6309\u94ae\u5185\u7c7b\u578b\u3002
+    - `value`: \u89e6\u53d1\u4e8b\u4ef6\u7684\u7ec4\u4ef6\u7684\u6587\u672c\uff1b
 
 - \u901a\u7528\u4e8b\u4ef6
 
@@ -109,7 +116,12 @@ Weex \u5185\u7f6e\u7684 `<input>` \u7ec4\u4ef6\u7528\u6765\u521b\u5efa\u63a5\u6536\u7528\u6237\u8f93\u5165\u5b57\u7b26\u7684\u8f93\u5165\u7ec4
 - `blur()` <span class="api-version">v0.9+</span>
 
   `blur()` \u65b9\u6cd5\u7528\u4e8e\u4ece `input` \u7ec4\u4ef6\u4e2d\u79fb\u9664\u7126\u70b9\u5e76\u5173\u95ed\u8f6f\u952e\u76d8\uff08\u5982\u679c\u5b83\u5177\u6709\u7126\u70b9\uff09\u3002
-
+- `setSelectionRange(selectionStart,selectionEnd)`  <span class="api-version">v0.11+</span>\u8bbe\u7f6e\u6587\u672c\u9009\u533a
+  - `selectionStart {number}`\uff1a\u8bbe\u7f6e\u6587\u672c\u9009\u533a\u7684\u8d77\u59cb\u70b9
+  - `selectionEnd {number}`\uff1a\u8bbe\u7f6e\u6587\u672c\u9009\u533a\u7684\u8d77\u7ec8\u70b9
+- `getEditSelectionRange(callback[selectionStart,selectionEnd])`  <span class="api-version">v0.11+</span>\u8bbe\u7f6e\u6587\u672c\u9009\u533a
+    - `selectionStart {number}`\uff1a\u83b7\u53d6\u6587\u672c\u9009\u533a\u7684\u8d77\u59cb\u70b9
+    - `selectionEnd {number}`\uff1a\u83b7\u53d6\u6587\u672c\u9009\u533a\u7684\u8d77\u7ec8\u70b9
 ## \u7ea6\u675f
 
 \u76ee\u524d\u4e0d\u652f\u6301 `this.$el(id).value = ''` \u8fd9\u79cd\u65b9\u5f0f\u6539\u5199 input value\u3002\u53ea\u652f\u6301\u5728 `<input>` \u7ec4\u4ef6\u7684 `input`\u3001`change` \u4e8b\u4ef6\u4e2d\u6539\u5199\u3002

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/7a091206/doc/source/cn/references/modules/dom.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/references/modules/dom.md b/doc/source/cn/references/modules/dom.md
index b7473c2..c4fefdc 100644
--- a/doc/source/cn/references/modules/dom.md
+++ b/doc/source/cn/references/modules/dom.md
@@ -30,6 +30,7 @@ version: 2.1
 - `node {Node}`\uff1a\u4f60\u8981\u6eda\u52a8\u5230\u7684\u90a3\u4e2a\u8282\u70b9
 - `options {Object}`\uff1a\u5982\u4e0b\u9009\u9879
   - `offset {number}`\uff1a\u4e00\u4e2a\u5230\u5176\u53ef\u89c1\u4f4d\u7f6e\u7684\u504f\u79fb\u8ddd\u79bb\uff0c\u9ed8\u8ba4\u662f `0`
+  - `animated {bool}`\uff1a\u8bbe\u7f6e\u662f\u5426\u6709\u6eda\u52a8\u52a8\u753b\uff0c\u9ed8\u8ba4\u662f true
 
 #### \u793a\u4f8b
 


[08/10] incubator-weex git commit: + [doc] update demo

Posted by da...@apache.org.
+ [doc] update demo

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

Branch: refs/heads/dev
Commit: 7a85b8a218585111a91734e1a080c23363b09afe
Parents: 85a2578
Author: \u9f50\u5c71 <su...@163.com>
Authored: Mon Apr 10 15:39:08 2017 +0800
Committer: GitHub <no...@github.com>
Committed: Mon Apr 10 15:39:08 2017 +0800

----------------------------------------------------------------------
 doc/source/references/common-style.md | 58 +++++++++++++++---------------
 1 file changed, 29 insertions(+), 29 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/7a85b8a2/doc/source/references/common-style.md
----------------------------------------------------------------------
diff --git a/doc/source/references/common-style.md b/doc/source/references/common-style.md
index 982407e..e69d573 100644
--- a/doc/source/references/common-style.md
+++ b/doc/source/references/common-style.md
@@ -362,42 +362,42 @@ Weex supports box-shadow in iOS\uff1a `inset`,`offset-x`,`offset-y`, `blur-radius`,
 
 ```html
 <template>
-    <div class="wrapper">
-        <div style="width:400px; height:60px;background-color: #FFE4C4; box-shadow:20px  10px rgb(255, 69, 0);">
-            <text class="title" style="text-align: center">Hello {{target}}</text>
-        </div>
-        <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow: 20px  10px 5px rgba(255, 69, 0, 0.8);">
-            <text class="title" style="text-align: center">Hello {{target}}</text>
-        </div>
-        <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:inset 20px  10px 5px rgba(255, 69, 0, 0.8);">
-            <text class="title" style="text-align: center">Hello {{target}}</text>
-        </div>
-        <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:inset 20px  10px 5px rgb(255, 69, 0);">
-            <text class="title" style="text-align: center">Hello {{target}}</text>
-        </div>
-        <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:20px  10px 5px black;">
-            <text class="title" style="text-align: center">Hello {{target}}</text>
-        </div>
-        <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:20px  10px 5px #008B00;">
-            <text class="title" style="text-align: center">Hello {{target}}</text>
-        </div>
+  <div class="wrapper">
+    <div style="width:400px; height:60px;background-color: #FFE4C4; box-shadow:20px  10px rgb(255, 69, 0);">
+      <text class="title" style="text-align: center">Hello {{target}}</text>
+    </div>
+    <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow: 20px  10px 5px rgba(255, 69, 0, 0.8);">
+      <text class="title" style="text-align: center">Hello {{target}}</text>
+    </div>
+    <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:inset 20px  10px 5px rgba(255, 69, 0, 0.8);">
+      <text class="title" style="text-align: center">Hello {{target}}</text>
+    </div>
+    <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:inset 20px  10px 5px rgb(255, 69, 0);">
+      <text class="title" style="text-align: center">Hello {{target}}</text>
+    </div>
+    <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:20px  10px 5px black;">
+      <text class="title" style="text-align: center">Hello {{target}}</text>
     </div>
+    <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:20px  10px 5px #008B00;">
+      <text class="title" style="text-align: center">Hello {{target}}</text>
+    </div>
+  </div>
 </template>
 
 <style scoped>
-    .wrapper {align-items: center; margin-top: 120px;}
-    .title {font-size: 48px;}
+  .wrapper {align-items: center; margin-top: 120px;}
+  .title {font-size: 48px;}
 </style>
 
 <script>
-    module.exports = {
-        data: function () {
-            return {
-                logoUrl: 'https://alibaba.github.io/weex/img/weex_logo_blue@3x.png',
-                target: 'World'
-            };
-        }
-    };
+  module.exports = {
+    data: function () {
+      return {
+        logoUrl: 'https://alibaba.github.io/weex/img/weex_logo_blue@3x.png',
+        target: 'World'
+      };
+    }
+  };
 </script>
 ```
 


[09/10] incubator-weex git commit: * [ios] fix bug box shadow color and headerToIndexTable

Posted by da...@apache.org.
* [ios] fix bug box shadow color and headerToIndexTable


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

Branch: refs/heads/dev
Commit: 00b03746e7a661420e420765e87e2e049a6db24d
Parents: 7a85b8a
Author: \u9f50\u5c71 <su...@163.com>
Authored: Mon Apr 10 21:07:38 2017 +0800
Committer: \u9f50\u5c71 <su...@163.com>
Committed: Mon Apr 10 21:07:38 2017 +0800

----------------------------------------------------------------------
 .../Component/Recycler/WXRecyclerDataController.m |  2 +-
 .../Sources/Display/WXComponent+BoxShadow.h       |  2 +-
 .../Sources/Display/WXComponent+BoxShadow.m       | 10 +++++-----
 ios/sdk/WeexSDK/Sources/Display/WXInnerLayer.h    |  2 +-
 ios/sdk/WeexSDK/Sources/Display/WXInnerLayer.m    |  4 ++--
 .../WeexSDK/Sources/Layout/WXComponent+Layout.m   |  2 +-
 ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.h     |  2 +-
 ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.m     | 18 ++----------------
 8 files changed, 14 insertions(+), 28 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/00b03746/ios/sdk/WeexSDK/Sources/Component/Recycler/WXRecyclerDataController.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Component/Recycler/WXRecyclerDataController.m b/ios/sdk/WeexSDK/Sources/Component/Recycler/WXRecyclerDataController.m
index 92875ce..ed02863 100644
--- a/ios/sdk/WeexSDK/Sources/Component/Recycler/WXRecyclerDataController.m
+++ b/ios/sdk/WeexSDK/Sources/Component/Recycler/WXRecyclerDataController.m
@@ -15,7 +15,7 @@
 
 @property (nonatomic, strong, readwrite) NSArray<WXSectionDataController *> *sections;
 @property (nonatomic, strong, readonly) NSMapTable<WXCellComponent *, NSIndexPath*> *cellToIndexPathTable;
-@property (nonatomic, strong, readonly) NSMapTable<WXCellComponent *, NSIndexPath*> *headerToIndexTable;
+@property (nonatomic, strong, readonly) NSMapTable<WXHeaderComponent *, NSNumber*> *headerToIndexTable;
 
 @end
 

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/00b03746/ios/sdk/WeexSDK/Sources/Display/WXComponent+BoxShadow.h
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Display/WXComponent+BoxShadow.h b/ios/sdk/WeexSDK/Sources/Display/WXComponent+BoxShadow.h
index 2c1a645..d7fe12e 100644
--- a/ios/sdk/WeexSDK/Sources/Display/WXComponent+BoxShadow.h
+++ b/ios/sdk/WeexSDK/Sources/Display/WXComponent+BoxShadow.h
@@ -21,7 +21,7 @@
  *
  *  @return if not equal return NO, if equal return YES
  */
-- (BOOL)EqualBoxShadow:(WXBoxShadow *_Nullable)boxShadow withBoxShadow:(WXBoxShadow *_Nullable)compareBoxShadow;
+- (BOOL)equalBoxShadow:(WXBoxShadow *_Nullable)boxShadow withBoxShadow:(WXBoxShadow *_Nullable)compareBoxShadow;
 
 /**
  *  @abstract config view Layer with boxshadow, lastboxshadow and originalBoxShadow

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/00b03746/ios/sdk/WeexSDK/Sources/Display/WXComponent+BoxShadow.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Display/WXComponent+BoxShadow.m b/ios/sdk/WeexSDK/Sources/Display/WXComponent+BoxShadow.m
index ba9927b..bbbf764 100644
--- a/ios/sdk/WeexSDK/Sources/Display/WXComponent+BoxShadow.m
+++ b/ios/sdk/WeexSDK/Sources/Display/WXComponent+BoxShadow.m
@@ -18,7 +18,7 @@
 - (WXBoxShadow *_Nullable)getViewBoxShadow:(UIView *_Nullable)view
 {
     WXBoxShadow *boxShadow = [WXBoxShadow new];
-    boxShadow.shadowColor = view.layer.shadowColor;
+    boxShadow.shadowColor =  [UIColor colorWithCGColor:view.layer.shadowColor];
     boxShadow.shadowOffset = view.layer.shadowOffset;
     boxShadow.shadowRadius = view.layer.shadowRadius;
     boxShadow.shadowOpacity =  view.layer.shadowOpacity;
@@ -29,7 +29,7 @@
 {
     UIBezierPath *shadowPath = [UIBezierPath bezierPathWithRect:self.view.bounds];
     self.view.layer.masksToBounds = NO;
-    self.view.layer.shadowColor = _originalBoxShadow.shadowColor;
+    self.view.layer.shadowColor = _originalBoxShadow.shadowColor.CGColor;
     self.view.layer.shadowOffset = _originalBoxShadow.shadowOffset;
     self.view.layer.shadowRadius = _originalBoxShadow.shadowRadius;
     self.view.layer.shadowOpacity = _originalBoxShadow.shadowOpacity;
@@ -44,11 +44,11 @@
 }
 
 // if not equal return NO, if equal return YES
-- (BOOL)EqualBoxShadow:(WXBoxShadow *_Nullable)boxShadow withBoxShadow:(WXBoxShadow *_Nullable)compareBoxShadow
+- (BOOL)equalBoxShadow:(WXBoxShadow *_Nullable)boxShadow withBoxShadow:(WXBoxShadow *_Nullable)compareBoxShadow
 {
     if(!compareBoxShadow && !boxShadow) {
         return YES;
-    } else if (CGColorEqualToColor(boxShadow.shadowColor,compareBoxShadow.shadowColor) &&
+    } else if (CGColorEqualToColor(boxShadow.shadowColor.CGColor,compareBoxShadow.shadowColor.CGColor) &&
                CGSizeEqualToSize(boxShadow.shadowOffset,compareBoxShadow.shadowOffset) &&
                WXFloatEqual(boxShadow.shadowRadius,compareBoxShadow.shadowRadius)&& (boxShadow.isInset == compareBoxShadow.isInset))
     {
@@ -80,7 +80,7 @@
     } else {
         UIBezierPath *shadowPath = [UIBezierPath bezierPathWithRect:self.view.bounds];
         self.view.layer.masksToBounds = NO;
-        self.view.layer.shadowColor = boxShadow.shadowColor;
+        self.view.layer.shadowColor = boxShadow.shadowColor.CGColor;
         self.view.layer.shadowOffset = boxShadow.shadowOffset;
         self.view.layer.shadowRadius = boxShadow.shadowRadius;
         self.view.layer.shadowOpacity = boxShadow.shadowOpacity;

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/00b03746/ios/sdk/WeexSDK/Sources/Display/WXInnerLayer.h
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Display/WXInnerLayer.h b/ios/sdk/WeexSDK/Sources/Display/WXInnerLayer.h
index f3b2bf4..8f18ace 100644
--- a/ios/sdk/WeexSDK/Sources/Display/WXInnerLayer.h
+++ b/ios/sdk/WeexSDK/Sources/Display/WXInnerLayer.h
@@ -12,7 +12,7 @@
 @interface WXInnerLayer : CAGradientLayer
 
 @property CGFloat boxShadowRadius;
-@property CGColorRef boxShadowColor;
+@property (nonatomic,strong,nullable) UIColor *boxShadowColor;
 @property CGSize boxShadowOffset;
 @property CGFloat boxShadowOpacity;
 

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/00b03746/ios/sdk/WeexSDK/Sources/Display/WXInnerLayer.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Display/WXInnerLayer.m b/ios/sdk/WeexSDK/Sources/Display/WXInnerLayer.m
index e49c5b6..4029ddb 100644
--- a/ios/sdk/WeexSDK/Sources/Display/WXInnerLayer.m
+++ b/ios/sdk/WeexSDK/Sources/Display/WXInnerLayer.m
@@ -50,9 +50,9 @@
     CGPathAddRect(outer, NULL, CGRectInset(rect, -1*rect.size.width, -1*rect.size.height));
     CGPathAddPath(outer, NULL, bezierPath.CGPath);
     CGPathCloseSubpath(outer);
-    CGFloat *oldComponents = (CGFloat *)CGColorGetComponents(self.boxShadowColor);
+    CGFloat *oldComponents = (CGFloat *)CGColorGetComponents(self.boxShadowColor.CGColor);
     CGFloat newComponents[4];
-    NSInteger numberOfComponents = CGColorGetNumberOfComponents(self.boxShadowColor);
+    NSInteger numberOfComponents = CGColorGetNumberOfComponents(self.boxShadowColor.CGColor);
     switch (numberOfComponents)
     {
         case 2:

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/00b03746/ios/sdk/WeexSDK/Sources/Layout/WXComponent+Layout.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Layout/WXComponent+Layout.m b/ios/sdk/WeexSDK/Sources/Layout/WXComponent+Layout.m
index 92c964b..78b0d64 100644
--- a/ios/sdk/WeexSDK/Sources/Layout/WXComponent+Layout.m
+++ b/ios/sdk/WeexSDK/Sources/Layout/WXComponent+Layout.m
@@ -122,7 +122,7 @@
                 strongSelf.view.frame = strongSelf.calculatedFrame;
                 [strongSelf configBoxShadow:_boxShadow];
             } else {
-                if (![strongSelf EqualBoxShadow:_boxShadow withBoxShadow:_lastBoxShadow]) {
+                if (![strongSelf equalBoxShadow:_boxShadow withBoxShadow:_lastBoxShadow]) {
                     [strongSelf configBoxShadow:_boxShadow];
                 }
             }

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/00b03746/ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.h
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.h b/ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.h
index 01dfa5c..5f0faee 100644
--- a/ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.h
+++ b/ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.h
@@ -11,7 +11,7 @@
 
 @interface WXBoxShadow : NSObject
 
-@property(nullable) CGColorRef shadowColor;
+@property(nonatomic,strong,nullable) UIColor *shadowColor;
 @property CGSize shadowOffset;
 @property CGFloat shadowRadius;
 @property BOOL isInset;

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/00b03746/ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.m b/ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.m
index 8df636c..c16c12f 100644
--- a/ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.m
+++ b/ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.m
@@ -12,10 +12,6 @@
 
 @implementation WXBoxShadow
 
-- (void) dealloc
-{
-    CGColorRelease(_shadowColor);
-}
 
 - (instancetype)init
 {
@@ -31,16 +27,6 @@
     return self;
 }
 
-- (void)setShadowColor: (CGColorRef)shadowColor
-{
-    if (shadowColor == _shadowColor)
-    return;
-    
-    CGColorRetain(shadowColor);
-    CGColorRelease(_shadowColor);
-    _shadowColor = shadowColor;
-}
-
 + (NSArray *)getBoxShadowElementsByBlank:(NSString *)string
 {
     string = [string stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]];
@@ -73,7 +59,7 @@
             NSString *str = [string substringWithRange:range];
             UIColor *color = [WXConvert UIColor:str];
             if (color && [color isKindOfClass:[UIColor class]]) {
-                boxShadow.shadowColor = color.CGColor;
+                boxShadow.shadowColor = color;
             }
             string = [string stringByReplacingOccurrencesOfString:str withString:@""];// remove color string
         }
@@ -82,7 +68,7 @@
         NSString *str = [boxShadowElements lastObject];
         UIColor *color = [WXConvert UIColor:str];
         if (color && [color isKindOfClass:[UIColor class]]) {
-            boxShadow.shadowColor = color.CGColor;
+            boxShadow.shadowColor = color;
         }
         string = [string stringByReplacingOccurrencesOfString:str withString:@""];// remove color string
     }


[03/10] incubator-weex git commit: Merge branch 'dev' into dev

Posted by da...@apache.org.
Merge branch 'dev' into dev

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

Branch: refs/heads/dev
Commit: 24ef56adce081d606b7becd8c9d0a28eb85e8568
Parents: a04dd25 0d441c0
Author: \u9f50\u5c71 <su...@163.com>
Authored: Thu Mar 30 10:16:14 2017 +0800
Committer: GitHub <no...@github.com>
Committed: Thu Mar 30 10:16:14 2017 +0800

----------------------------------------------------------------------
 CONTRIBUTING.md                                 |  38 ++-
 doc/_config.yml                                 |   9 +-
 doc/package.json                                |   2 +-
 doc/source/cn/faq.md                            |   6 +-
 doc/source/cn/guide/contributing.md             | 106 +++++++
 doc/source/cn/guide/dev-with-weexpack.md        |  11 -
 doc/source/cn/guide/index.md                    | 123 ++------
 doc/source/cn/guide/integrate-to-your-app.md    |   6 +-
 doc/source/cn/guide/intro/devtools.md           |  99 ------
 doc/source/cn/guide/intro/index.md              |   2 +-
 doc/source/cn/guide/intro/write-once.md         |   2 +-
 doc/source/cn/guide/set-up-env.md               | 128 ++++++++
 doc/source/cn/guide/tools/index.md              |  10 +
 doc/source/cn/guide/tools/toolkit.md            | 231 ++++++++++++++
 .../cn/references/advanced/extend-to-ios.md     | 299 +++++++++++--------
 doc/source/cn/references/common-style.md        |  10 +-
 doc/source/cn/references/components/a.md        |  25 +-
 doc/source/cn/references/components/cell.md     |   7 +-
 doc/source/cn/references/components/div.md      |  12 +-
 doc/source/cn/references/components/image.md    |  18 +-
 .../cn/references/components/indicator.md       |   3 +-
 doc/source/cn/references/components/input.md    |   2 +-
 doc/source/cn/references/components/list.md     |   6 +-
 doc/source/cn/references/components/loading.md  |   2 +
 doc/source/cn/references/components/refresh.md  |   2 +-
 doc/source/cn/references/components/scroller.md |   6 +-
 doc/source/cn/references/components/slider.md   |   2 +-
 doc/source/cn/references/components/switch.md   |   2 +-
 doc/source/cn/references/components/text.md     |   2 +-
 doc/source/cn/references/components/textarea.md |   2 +-
 doc/source/cn/references/components/video.md    |   2 +-
 doc/source/cn/references/components/web.md      |  11 +-
 doc/source/cn/references/gesture.md             |   3 +-
 doc/source/cn/references/modules/animation.md   |   2 +-
 doc/source/cn/references/modules/clipboard.md   |   2 +-
 doc/source/cn/references/modules/dom.md         |   4 +-
 doc/source/cn/references/modules/globalevent.md |   2 +-
 doc/source/cn/references/modules/index.md       |  31 +-
 doc/source/cn/references/modules/modal.md       |   2 +-
 doc/source/cn/references/modules/navigator.md   |   2 +-
 doc/source/cn/references/modules/storage.md     |   4 +-
 doc/source/cn/references/modules/stream.md      |   2 +-
 doc/source/cn/references/modules/websocket.md   |  81 +++--
 doc/source/cn/references/modules/webview.md     |  11 +-
 doc/source/cn/references/path.md                |   2 +-
 .../cn/v-0.10/advanced/extend-to-html5.md       |   2 +-
 .../cn/v-0.10/advanced/integrate-to-android.md  |   4 +-
 .../cn/v-0.10/references/modules/globalevent.md |   2 +-
 .../cn/v-0.10/references/modules/storage.md     |   2 +-
 doc/source/cn/v-0.10/tools/devtools.md          |   4 +-
 doc/source/faq.md                               |   5 +-
 doc/source/guide/contributing.md                | 106 +++++++
 doc/source/guide/dev-with-weexpack.md           |  12 -
 doc/source/guide/index.md                       |  82 ++---
 doc/source/guide/integrate-to-your-app.md       |   6 +-
 doc/source/guide/intro/devtools.md              | 100 -------
 doc/source/guide/set-up-env.md                  |  93 ++++++
 doc/source/guide/tools/index.md                 |  10 +
 doc/source/guide/tools/toolkit.md               | 198 ++++++++++++
 doc/source/references/advanced/extend-to-ios.md |  64 ++--
 doc/source/references/common-style.md           |  16 +-
 doc/source/references/components/a.md           |   2 +-
 doc/source/references/components/cell.md        |   2 +
 doc/source/references/components/div.md         |   2 +-
 doc/source/references/components/image.md       |   7 +-
 doc/source/references/components/indicator.md   |   2 +-
 doc/source/references/components/input.md       |   2 +-
 doc/source/references/components/list.md        |   2 +-
 doc/source/references/components/refresh.md     |   2 +-
 doc/source/references/components/scroller.md    |   6 +-
 doc/source/references/components/slider.md      |   2 +-
 doc/source/references/components/switch.md      |   2 +-
 doc/source/references/components/text.md        |   2 +-
 doc/source/references/components/textarea.md    |   2 +-
 doc/source/references/components/video.md       |   2 +-
 doc/source/references/components/web.md         |  13 +-
 doc/source/references/gesture.md                |   2 +-
 doc/source/references/modules/animation.md      |   2 +-
 doc/source/references/modules/clipboard.md      |   2 +-
 doc/source/references/modules/dom.md            |   6 +-
 doc/source/references/modules/globalevent.md    |   2 +-
 doc/source/references/modules/index.md          |  31 +-
 doc/source/references/modules/modal.md          |   2 +-
 doc/source/references/modules/navigator.md      |   2 +-
 doc/source/references/modules/storage.md        |   2 +-
 doc/source/references/modules/stream.md         |   2 +-
 doc/source/references/modules/websocket.md      |  97 +++---
 doc/source/references/modules/webview.md        |  11 +-
 .../references/vue/difference-with-web.md       |   2 +-
 doc/source/v-0.10/advanced/extend-to-html5.md   |   2 +-
 .../v-0.10/advanced/integrate-to-android.md     |   6 +-
 .../guide/how-to/preview-in-playground-app.md   |   2 +-
 doc/source/v-0.10/references/components/list.md |  11 +-
 .../references/components/refresh-loading.md    |  13 +-
 .../v-0.10/references/modules/globalevent.md    |   2 +-
 doc/themes/weex/languages/cn.yml                |   5 +-
 doc/themes/weex/languages/en.yml                |  45 ++-
 .../weex/layout/_partial/after-footer.ejs       |   2 +-
 doc/themes/weex/layout/_partial/footer.ejs      |   2 +-
 doc/themes/weex/layout/_partial/head.ejs        |  43 ---
 doc/themes/weex/layout/_partial/header.ejs      |  30 +-
 doc/themes/weex/layout/_partial/search-form.ejs |   2 +-
 doc/themes/weex/layout/_partial/sidebar.ejs     |  15 +-
 doc/themes/weex/layout/_partial/slider.ejs      |   2 +-
 doc/themes/weex/layout/index.ejs                |  29 +-
 doc/themes/weex/layout/playground.ejs           |   2 +-
 doc/themes/weex/source/css/index.scss           |   4 +-
 doc/themes/weex/source/css/media-queries.scss   |   3 +
 doc/themes/weex/source/css/partial/footer.scss  |   1 +
 doc/themes/weex/source/css/partial/header.scss  |  32 +-
 .../weex/source/css/partial/search-form.scss    |   3 -
 doc/themes/weex/source/css/partial/sidebar.scss |   1 +
 doc/themes/weex/source/js/common.js             |  37 ++-
 doc/themes/weex/source/js/example.js            |   2 +-
 examples/module/websocket-demo.we               |  88 +++---
 ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m |  18 +-
 ios/sdk/WeexSDK/Sources/Engine/WXSDKEngine.m    |   9 +-
 ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m   |   4 +-
 ios/sdk/WeexSDK/Sources/Utility/WXUtility.m     |  16 +-
 119 files changed, 1667 insertions(+), 1017 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/24ef56ad/doc/source/cn/references/common-style.md
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/24ef56ad/doc/source/cn/references/components/input.md
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/24ef56ad/doc/source/cn/references/modules/dom.md
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/24ef56ad/doc/source/references/common-style.md
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/24ef56ad/doc/source/references/components/input.md
----------------------------------------------------------------------
diff --cc doc/source/references/components/input.md
index 6542d59,837c867..10dde21
--- a/doc/source/references/components/input.md
+++ b/doc/source/references/components/input.md
@@@ -168,4 -151,4 +168,4 @@@ does not support the common-event�'cli
  </style>
  ```
  
- [try it](../../examples/input.html)
 -[try it](http://dotwe.org/vue/c1b1a5fdcf0937df1d847f8812a7ccb2)
++[try it](http://dotwe.org/vue/c1b1a5fdcf0937df1d847f8812a7ccb2)

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/24ef56ad/doc/source/references/modules/dom.md
----------------------------------------------------------------------
diff --cc doc/source/references/modules/dom.md
index 33cc4d2,cd5651e..77fefcf
--- a/doc/source/references/modules/dom.md
+++ b/doc/source/references/modules/dom.md
@@@ -202,4 -201,4 +202,6 @@@ Example Useage
  </style>
  ```
  
- [try it](../../examples/dom-rect.html)
 -[try it](http://dotwe.org/vue/87d4ed571de129ab28052b06a5d65fc8)
++
++[try it](http://dotwe.org/vue/87d4ed571de129ab28052b06a5d65fc8)
++


[06/10] incubator-weex git commit: * [doc] add type support

Posted by da...@apache.org.
* [doc] add type support

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

Branch: refs/heads/dev
Commit: 38d06f386f8209cdac1b6256e8d07b6a02f8dca4
Parents: 9752538
Author: \u9f50\u5c71 <su...@163.com>
Authored: Mon Apr 10 15:29:53 2017 +0800
Committer: GitHub <no...@github.com>
Committed: Mon Apr 10 15:29:53 2017 +0800

----------------------------------------------------------------------
 doc/source/cn/references/components/input.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/38d06f38/doc/source/cn/references/components/input.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/references/components/input.md b/doc/source/cn/references/components/input.md
index d94451b..133b393 100644
--- a/doc/source/cn/references/components/input.md
+++ b/doc/source/cn/references/components/input.md
@@ -25,7 +25,7 @@ Weex \u5185\u7f6e\u7684 `<input>` \u7ec4\u4ef6\u7528\u6765\u521b\u5efa\u63a5\u6536\u7528\u6237\u8f93\u5165\u5b57\u7b26\u7684\u8f93\u5165\u7ec4
 - `disabled {boolean}`\uff1a\u5e03\u5c14\u7c7b\u578b\u7684\u6570\u636e\uff0c\u8868\u793a\u662f\u5426\u652f\u6301\u8f93\u5165\u3002\u901a\u5e38 `click` \u4e8b\u4ef6\u5728 `disabled` \u63a7\u4ef6\u4e0a\u662f\u5931\u6548\u7684\u3002
 - `autofocus {boolean}`\uff1a\u5e03\u5c14\u7c7b\u578b\u7684\u6570\u636e\uff0c\u8868\u793a\u662f\u5426\u5728\u9875\u9762\u52a0\u8f7d\u65f6\u63a7\u4ef6\u81ea\u52a8\u83b7\u5f97\u8f93\u5165\u7126\u70b9\u3002
 - `maxlength {nubmer}`\uff1a<sup class="wx-v">v0.7</sup>\u4e00\u4e2a\u6570\u503c\u7c7b\u578b\u7684\u503c\uff0c\u8868\u793a\u8f93\u5165\u7684\u6700\u5927\u957f\u5ea6\u3002
-- `return-key-type {string}`\uff1a<sup class="wx-v">v0.11</sup>\u952e\u76d8\u8fd4\u56de\u952e\u7684\u7c7b\u578b\u3002
+- `return-key-type {string}`\uff1a<sup class="wx-v">v0.11</sup>\u952e\u76d8\u8fd4\u56de\u952e\u7684\u7c7b\u578b,\u652f\u6301 defalut;go;next;search;send,done\u3002
 
 ## \u6837\u5f0f
 


[02/10] incubator-weex git commit: + [doc] add english doc

Posted by da...@apache.org.
+ [doc] add english doc


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

Branch: refs/heads/dev
Commit: a04dd259a55b70fba372673482068dcb154bd65b
Parents: 7a09120
Author: \u9f50\u5c71 <su...@163.com>
Authored: Thu Mar 30 10:10:35 2017 +0800
Committer: \u9f50\u5c71 <su...@163.com>
Committed: Thu Mar 30 10:10:35 2017 +0800

----------------------------------------------------------------------
 doc/source/cn/references/components/input.md |  6 +-
 doc/source/references/common-style.md        | 71 ++++++++++++++++++++---
 doc/source/references/components/input.md    | 23 +++++++-
 doc/source/references/modules/dom.md         |  3 +-
 4 files changed, 87 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/a04dd259/doc/source/cn/references/components/input.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/references/components/input.md b/doc/source/cn/references/components/input.md
index 546960c..a949ada 100644
--- a/doc/source/cn/references/components/input.md
+++ b/doc/source/cn/references/components/input.md
@@ -25,7 +25,7 @@ Weex \u5185\u7f6e\u7684 `<input>` \u7ec4\u4ef6\u7528\u6765\u521b\u5efa\u63a5\u6536\u7528\u6237\u8f93\u5165\u5b57\u7b26\u7684\u8f93\u5165\u7ec4
 - `disabled {boolean}`\uff1a\u5e03\u5c14\u7c7b\u578b\u7684\u6570\u636e\uff0c\u8868\u793a\u662f\u5426\u652f\u6301\u8f93\u5165\u3002\u901a\u5e38 `click` \u4e8b\u4ef6\u5728 `disabled` \u63a7\u4ef6\u4e0a\u662f\u5931\u6548\u7684\u3002
 - `autofocus {boolean}`\uff1a\u5e03\u5c14\u7c7b\u578b\u7684\u6570\u636e\uff0c\u8868\u793a\u662f\u5426\u5728\u9875\u9762\u52a0\u8f7d\u65f6\u63a7\u4ef6\u81ea\u52a8\u83b7\u5f97\u8f93\u5165\u7126\u70b9\u3002
 - `maxlength {nubmer}`\uff1a<sup class="wx-v">v0.7</sup>\u4e00\u4e2a\u6570\u503c\u7c7b\u578b\u7684\u503c\uff0c\u8868\u793a\u8f93\u5165\u7684\u6700\u5927\u957f\u5ea6\u3002
-- `return-key-type {string}`\uff1a<sup class="wx-v">v0.11</sup>\u952e\u76d8enter\u952e\u7684\u7c7b\u578b\u3002
+- `return-key-type {string}`\uff1a<sup class="wx-v">v0.11</sup>\u952e\u76d8\u8fd4\u56de\u952e\u7684\u7c7b\u578b\u3002
 
 ## \u6837\u5f0f
 
@@ -85,11 +85,11 @@ Weex \u5185\u7f6e\u7684 `<input>` \u7ec4\u4ef6\u7528\u6765\u521b\u5efa\u63a5\u6536\u7528\u6237\u8f93\u5165\u5b57\u7b26\u7684\u8f93\u5165\u7ec4
   \u4e8b\u4ef6\u4e2d event \u5bf9\u8c61\u5c5e\u6027\uff1a
 
   - `timestamp`: \u4e8b\u4ef6\u53d1\u751f\u65f6\u7684\u65f6\u95f4\u6233\u3002
-- `return`: \u952e\u76d8\u70b9\u51fb\u786e\u8ba4\u6309\u94ae\u3002
+- `return`: \u952e\u76d8\u70b9\u51fb\u8fd4\u56de\u952e\u3002
 
     \u4e8b\u4ef6\u4e2d event \u5bf9\u8c61\u5c5e\u6027\uff1a
 
-    - `returnKeyType`: \u4e8b\u4ef6\u53d1\u751f\u65f6\u7684enter\u6309\u94ae\u5185\u7c7b\u578b\u3002
+    - `returnKeyType`: \u4e8b\u4ef6\u53d1\u751f\u65f6\u7684\u8fd4\u56de\u952e\u7c7b\u578b\u3002
     - `value`: \u89e6\u53d1\u4e8b\u4ef6\u7684\u7ec4\u4ef6\u7684\u6587\u672c\uff1b
 
 - \u901a\u7528\u4e8b\u4ef6

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/a04dd259/doc/source/references/common-style.md
----------------------------------------------------------------------
diff --git a/doc/source/references/common-style.md b/doc/source/references/common-style.md
index 6cae589..41641c7 100644
--- a/doc/source/references/common-style.md
+++ b/doc/source/references/common-style.md
@@ -213,19 +213,19 @@ All components support `active`, but only the input component and the textarea c
 
 <style scoped>
   .wrapper {
-    align-items: center; 
+    align-items: center;
     margin-top: 120px;
   }
   .title {
     font-size: 48px;
   }
   .logo {
-    width: 360px; 
+    width: 360px;
     height: 82px;
     background-color: red;
   }
   .logo:active {
-    width: 180px; 
+    width: 180px;
     height: 82px;
     background-color: green;
   }
@@ -270,19 +270,19 @@ background-image: linear-gradient(to top,#a80077,#66ff00);
 
 `radial-gradient` is not currently supported, do not use it.
 
-Weex currently supports two color gradients. The direction of the gradient is as follows: 
+Weex currently supports two color gradients. The direction of the gradient is as follows:
 
 * to right
   From left to right
-* to left 
+* to left
   From right to left
-* to bottom 
+* to bottom
   From top to bottom
-* to top 
+* to top
   From bottom to top
-* to bottom right 
+* to bottom right
   From the upper left corner to the lower right corner
-* to top left 
+* to top left
   From the lower right corner to the upper left corner
 
 ### Note
@@ -345,6 +345,59 @@ Weex currently supports two color gradients. The direction of the gradient is as
 </style>
 ```
 
+## box-shadow <span class="api-version">v0.11+</span>
+
+Weex supports box-shadow in iOS\uff1a `inset`,`offset-x`,`offset-y`, `blur-radius`,`color`
+
+
+### Note
+
+- box-shadow takes effect in iOS
+
+### Example
+
+```html
+<template>
+    <div class="wrapper">
+        <div style="width:400px; height:60px;background-color: #FFE4C4; box-shadow:20px  10px rgb(255, 69, 0);">
+            <text class="title" style="text-align: center">Hello {{target}}</text>
+        </div>
+        <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow: 20px  10px 5px rgba(255, 69, 0, 0.8);">
+            <text class="title" style="text-align: center">Hello {{target}}</text>
+        </div>
+        <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:inset 20px  10px 5px rgba(255, 69, 0, 0.8);">
+            <text class="title" style="text-align: center">Hello {{target}}</text>
+        </div>
+        <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:inset 20px  10px 5px rgb(255, 69, 0);">
+            <text class="title" style="text-align: center">Hello {{target}}</text>
+        </div>
+        <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:20px  10px 5px black;">
+            <text class="title" style="text-align: center">Hello {{target}}</text>
+        </div>
+        <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:20px  10px 5px #008B00;">
+            <text class="title" style="text-align: center">Hello {{target}}</text>
+        </div>
+    </div>
+</template>
+
+<style scoped>
+    .wrapper {align-items: center; margin-top: 120px;}
+    .title {font-size: 48px;}
+</style>
+
+<script>
+    module.exports = {
+        data: function () {
+            return {
+                logoUrl: 'https://alibaba.github.io/weex/img/weex_logo_blue@3x.png',
+                target: 'World'
+            };
+        }
+    };
+</script>
+```
+
+
 ## Other Common Style
 
 - `opacity`

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/a04dd259/doc/source/references/components/input.md
----------------------------------------------------------------------
diff --git a/doc/source/references/components/input.md b/doc/source/references/components/input.md
index 1033351..6542d59 100644
--- a/doc/source/references/components/input.md
+++ b/doc/source/references/components/input.md
@@ -29,6 +29,8 @@ This component supports no child components.
 
 * `maxlength`: <span class="api-version">v0.7+</span> a number value to specify maxlength of input.
 
+* `return-key-type {string}`\uff1a<sup class="wx-v">v0.11</sup>the keybord returen key type.
+
 ## Styles
 
 * placeholder-color: the color of placeholder. Default value is�'#999999'.
@@ -62,14 +64,20 @@ check out�[common styles for components](../common-style.html)
 * change: the change event is fired when a change to the component's value is commited by the user. It always come after a�'blur'�event.
 * focus: a component has received focus.
 * blur: a component has lost focus.
+* `return`:the return key click.
+
+     the object property of event:
+
+    - `returnKeyType`: return key Type  of component
+    - `value`: component text value
 
 ### common events
 check out [common events](../common-event.html)
 
-* support�'appear'�/�'disappear'�event. 
+* support�'appear'�/�'disappear'�event.
 
 
-### Methoads 
+### Methoads
 
  - `focus()` <span class="api-version">v0.9+</span>
 
@@ -79,6 +87,15 @@ check out [common events](../common-event.html)
 
   The `blur()` method is used to remove focus from an input component and close soft keybord(if it has focus).
 
+- `setSelectionRange(selectionStart,selectionEnd)`  <span class="api-version">v0.11+</span>set text selection range of input or textarea
+
+  - `selectionStart {number}`:set starting location text selection range
+  - `selectionEnd {number}`:set end location text selection range
+
+- `getEditSelectionRange(callback[selectionStart,selectionEnd])`  <span class="api-version">v0.11+</span>get text selection range of input or textarea
+    - `selectionStart {number}`:get starting location text selection range
+    - `selectionEnd {number}`: get end location text selection range
+
 ### Notes
 does not support the common-event�'click'. Please listen to the�'input'�or�'change'�event instead.
 
@@ -151,4 +168,4 @@ does not support the common-event�'click'. Please listen to the�'input'�or�'
 </style>
 ```
 
-[try it](../../examples/input.html)
\ No newline at end of file
+[try it](../../examples/input.html)

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/a04dd259/doc/source/references/modules/dom.md
----------------------------------------------------------------------
diff --git a/doc/source/references/modules/dom.md b/doc/source/references/modules/dom.md
index bfd80e0..33cc4d2 100644
--- a/doc/source/references/modules/dom.md
+++ b/doc/source/references/modules/dom.md
@@ -24,6 +24,7 @@ Scroll the page to the specified node. This API should only be used on the eleme
 * `node`*(Node)*: an element that scrolled into the view.
 * `options`*(object)*: some options.
   * `offset`*(number)*: An offset to the visible position, default is `0`.
+  * `animated` *(bool)*�:set element animation, default true
 
 #### Example
 
@@ -201,4 +202,4 @@ Example Useage:
 </style>
 ```
 
-[try it](../../examples/dom-rect.html)
\ No newline at end of file
+[try it](../../examples/dom-rect.html)


[05/10] incubator-weex git commit: * [ios] add support type

Posted by da...@apache.org.
* [ios] add support type

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

Branch: refs/heads/dev
Commit: 9752538bb9e356b605dc526acb66a947951d429c
Parents: 11f7297
Author: \u9f50\u5c71 <su...@163.com>
Authored: Mon Apr 10 15:27:11 2017 +0800
Committer: GitHub <no...@github.com>
Committed: Mon Apr 10 15:27:11 2017 +0800

----------------------------------------------------------------------
 doc/source/references/components/input.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/9752538b/doc/source/references/components/input.md
----------------------------------------------------------------------
diff --git a/doc/source/references/components/input.md b/doc/source/references/components/input.md
index 10dde21..aca934b 100644
--- a/doc/source/references/components/input.md
+++ b/doc/source/references/components/input.md
@@ -29,7 +29,7 @@ This component supports no child components.
 
 * `maxlength`: <span class="api-version">v0.7+</span> a number value to specify maxlength of input.
 
-* `return-key-type {string}`\uff1a<sup class="wx-v">v0.11</sup>the keybord returen key type.
+* `return-key-type {string}`\uff1a<sup class="wx-v">v0.11</sup>the keybord returen key type support defalut;go;next;search;send,done.
 
 ## Styles
 


[04/10] incubator-weex git commit: Merge branch 'dev' into dev

Posted by da...@apache.org.
Merge branch 'dev' into dev

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

Branch: refs/heads/dev
Commit: 11f72973eaff21da93ee463b7aa8924a2666cac5
Parents: 24ef56a 77f9ed2
Author: \u9f50\u5c71 <su...@163.com>
Authored: Mon Apr 10 15:21:59 2017 +0800
Committer: GitHub <no...@github.com>
Committed: Mon Apr 10 15:21:59 2017 +0800

----------------------------------------------------------------------
 .eslintrc                                       |   13 +-
 .flowconfig                                     |   16 +
 .travis.yml                                     |   48 +-
 Dangerfile                                      |   55 -
 Dangerfile-ios                                  |    4 +
 android/playground/app/build.gradle             |    1 +
 .../app/src/main/assets/component/image-demo.js |    2 +-
 .../assets/component/slider-neighbor/index.js   |  264 +
 .../slider-neighbor/silder-neighbor.js          |  287 -
 .../src/main/assets/component/slider/index.js   |   33 +
 .../app/src/main/assets/component/text-demo.js  |  108 +
 .../app/src/main/assets/component/web-demo.js   |    1 -
 android/playground/app/src/main/assets/error.js | 2217 +++++
 .../app/src/main/assets/geolocation.js          |  183 +
 .../app/src/main/assets/hello_weex.js           |   28 -
 android/playground/app/src/main/assets/index.js |    2 +-
 .../app/src/main/assets/linear-gradient.js      |  367 +
 .../app/src/main/assets/module/clipboard.js     |   27 +-
 .../app/src/main/assets/module/componentRect.js |  107 +-
 .../app/src/main/assets/module/instance-api.js  |   14 +-
 .../app/src/main/assets/module/modal.js         |   18 +-
 .../app/src/main/assets/module/picker-demo.js   |   18 +-
 .../app/src/main/assets/module/storage-demo.js  |   14 +-
 .../app/src/main/assets/module/stream-demo.js   |   18 +-
 .../src/main/assets/module/websocket-demo.js    | 2412 +++++
 .../app/src/main/assets/showcase/calculator.js  |   21 +-
 .../assets/showcase/dropdown/dropdown-demo.js   |   30 +-
 .../assets/showcase/dropdown/we-dropdown.js     |   12 +-
 .../app/src/main/assets/showcase/minesweeper.js |   12 +-
 .../main/assets/showcase/new-fashion/banner.js  |    8 +-
 .../main/assets/showcase/new-fashion/banners.js |   20 +-
 .../main/assets/showcase/new-fashion/brand.js   |   36 +-
 .../assets/showcase/new-fashion/category.js     |   24 +-
 .../main/assets/showcase/new-fashion/coupon.js  |   12 +-
 .../main/assets/showcase/new-fashion/fashion.js |   38 +-
 .../main/assets/showcase/new-fashion/goods.js   |   24 +-
 .../assets/showcase/new-fashion/headlines.js    |   48 +-
 .../main/assets/showcase/new-fashion/index.js   |   21 +-
 .../main/assets/showcase/new-fashion/link.js    |    8 +-
 .../main/assets/showcase/new-fashion/main.js    |  209 +-
 .../main/assets/showcase/new-fashion/match.js   |   24 +-
 .../assets/showcase/new-fashion/resource.js     |   38 +-
 .../main/assets/showcase/new-fashion/scene.js   |   24 +-
 .../src/main/assets/showcase/pseudo-class.js    | 2425 +++++
 .../app/src/main/assets/showcase/ui.js          |   24 +-
 .../app/src/main/assets/style/index.js          |   76 +-
 .../app/src/main/assets/style/style-box.js      |   40 +-
 .../app/src/main/assets/style/style-flex.js     |   48 +-
 .../app/src/main/assets/style/style-item.js     |   12 +-
 .../app/src/main/assets/syntax/hello-world-1.js |    4 +-
 .../app/src/main/assets/syntax/hello-world-2.js |    6 +-
 .../app/src/main/assets/syntax/hello-world-3.js |   10 +-
 .../app/src/main/assets/syntax/hello-world-4.js |   14 +-
 .../app/src/main/assets/syntax/hello-world-5.js |   14 +-
 .../app/src/main/assets/syntax/hello-world.js   |   14 +-
 .../app/src/main/assets/syntax/index.js         |   20 +-
 .../src/main/assets/syntax/script-component.js  |   24 +-
 .../app/src/main/assets/syntax/script-data.js   |   12 +-
 .../app/src/main/assets/syntax/script-events.js |   12 +-
 .../src/main/assets/syntax/script-instance.js   |   12 +-
 .../src/main/assets/syntax/script-lifecycle.js  |   12 +-
 .../app/src/main/assets/syntax/script-module.js |   12 +-
 .../src/main/assets/syntax/script-options.js    |   12 +-
 .../src/main/assets/syntax/template-class.js    |   12 +-
 .../src/main/assets/syntax/template-content.js  |   20 +-
 .../src/main/assets/syntax/template-event.js    |   12 +-
 .../app/src/main/assets/syntax/template-if.js   |   12 +-
 .../assets/syntax/template-repeat-update.js     |   12 +-
 .../src/main/assets/syntax/template-repeat.js   |   12 +-
 .../src/main/assets/syntax/template-style.js    |    8 +-
 .../playground/app/src/main/assets/template.js  |   12 +-
 android/playground/app/src/main/assets/test.js  |  128 +
 .../app/src/main/assets/vue/animation.js        |  709 ++
 .../app/src/main/assets/vue/components/a.js     |  438 +
 .../src/main/assets/vue/components/countdown.js |  640 ++
 .../app/src/main/assets/vue/components/image.js |  641 ++
 .../app/src/main/assets/vue/components/input.js |  364 +
 .../app/src/main/assets/vue/components/list.js  |  246 +
 .../src/main/assets/vue/components/marquee.js   |  534 +
 .../src/main/assets/vue/components/navigator.js | 1059 ++
 .../src/main/assets/vue/components/scroller.js  |  304 +
 .../src/main/assets/vue/components/slider.js    |  898 ++
 .../src/main/assets/vue/components/tabbar.js    |  599 ++
 .../app/src/main/assets/vue/components/text.js  |  513 +
 .../app/src/main/assets/vue/components/video.js |  396 +
 .../app/src/main/assets/vue/components/web.js   |  459 +
 .../playground/app/src/main/assets/vue/hello.js |   99 +
 .../app/src/main/assets/vue/iconfont.js         |  204 +
 .../playground/app/src/main/assets/vue/index.js |  496 +
 .../src/main/assets/vue/modules/clipboard.js    |  691 ++
 .../src/main/assets/vue/modules/instance-api.js |  304 +
 .../app/src/main/assets/vue/modules/modal.js    |  581 ++
 .../app/src/main/assets/vue/modules/storage.js  |  381 +
 .../app/src/main/assets/vue/modules/stream.js   |  477 +
 .../src/main/assets/vue/showcase/calculator.js  |  340 +
 .../src/main/assets/vue/showcase/itemlist.js    | 1062 ++
 .../src/main/assets/vue/showcase/new-fashion.js | 3302 ++++++
 .../src/main/assets/vue/showcase/progress.js    |  336 +
 .../app/src/main/assets/vue/style/index.js      | 1566 +++
 .../app/src/main/assets/vue/style/style-box.js  |  780 ++
 .../app/src/main/assets/vue/style/style-flex.js |  919 ++
 .../app/src/main/assets/vue/style/style-item.js |  155 +
 .../src/main/assets/vue/syntax/hello-world-1.js |   95 +
 .../src/main/assets/vue/syntax/hello-world-2.js |  112 +
 .../src/main/assets/vue/syntax/hello-world-3.js |  127 +
 .../src/main/assets/vue/syntax/hello-world-4.js |  167 +
 .../src/main/assets/vue/syntax/hello-world-5.js |  173 +
 .../src/main/assets/vue/syntax/hello-world.js   |  183 +
 .../main/assets/vue/syntax/script-component.js  |  224 +
 .../src/main/assets/vue/syntax/script-data.js   |  214 +
 .../src/main/assets/vue/syntax/script-events.js |  161 +
 .../main/assets/vue/syntax/script-instance.js   |  196 +
 .../main/assets/vue/syntax/script-lifecycle.js  |  155 +
 .../src/main/assets/vue/syntax/script-module.js |  156 +
 .../main/assets/vue/syntax/script-options.js    |  182 +
 .../main/assets/vue/syntax/template-class.js    |  161 +
 .../main/assets/vue/syntax/template-content.js  |  189 +
 .../main/assets/vue/syntax/template-event.js    |  197 +
 .../src/main/assets/vue/syntax/template-if.js   |  165 +
 .../assets/vue/syntax/template-repeat-update.js |  195 +
 .../main/assets/vue/syntax/template-repeat.js   |  170 +
 .../main/assets/vue/syntax/template-style.js    |  144 +
 .../app/src/main/assets/vue/template.js         |  796 ++
 .../playground/app/src/main/ic_launcher-web.png |  Bin 0 -> 19935 bytes
 .../java/com/alibaba/weex/WXApplication.java    |    5 +
 .../java/com/alibaba/weex/WXPageActivity.java   |    2 +-
 .../alibaba/weex/extend/component/WXMask.java   |  167 +
 .../extend/component/dom/WXMaskDomObject.java   |  231 +
 .../extend/module/location/DefaultLocation.java |  110 +-
 .../alibaba/weex/extend/view/WXMaskView.java    |  220 +
 .../src/main/res/mipmap-hdpi/ic_launcher.png    |  Bin 5248 -> 1755 bytes
 .../src/main/res/mipmap-mdpi/ic_launcher.png    |  Bin 4303 -> 1221 bytes
 .../src/main/res/mipmap-xhdpi/ic_launcher.png   |  Bin 6354 -> 2451 bytes
 .../src/main/res/mipmap-xxhdpi/ic_launcher.png  |  Bin 7930 -> 3939 bytes
 .../src/main/res/mipmap-xxxhdpi/ic_launcher.png |  Bin 10633 -> 5608 bytes
 android/sdk/assets/main.js                      |   14 +-
 android/sdk/build.gradle                        |   21 +-
 android/sdk/libs/armeabi/libweexv8.so           |  Bin 3583820 -> 3583820 bytes
 android/sdk/libs/x86/libweexv8.so               |  Bin 4340864 -> 4336768 bytes
 .../main/java/com/taobao/weex/WXSDKEngine.java  |    9 +-
 .../java/com/taobao/weex/WXSDKInstance.java     |   74 +-
 .../main/java/com/taobao/weex/WXSDKManager.java |   13 +-
 .../com/taobao/weex/bridge/WXBridgeManager.java |   90 +-
 .../taobao/weex/bridge/WXServiceManager.java    |   31 +-
 .../taobao/weex/bridge/WXValidateProcessor.java |  241 +
 .../java/com/taobao/weex/common/Constants.java  |   22 +-
 .../com/taobao/weex/common/WXImageStrategy.java |    2 +-
 .../com/taobao/weex/common/WXJSService.java     |  229 +
 .../java/com/taobao/weex/common/WXThread.java   |    9 +
 .../com/taobao/weex/dom/ImmutableDomObject.java |   18 +-
 .../main/java/com/taobao/weex/dom/WXAttr.java   |   96 +-
 .../java/com/taobao/weex/dom/WXDomHandler.java  |    2 +-
 .../java/com/taobao/weex/dom/WXDomModule.java   |   18 +-
 .../java/com/taobao/weex/dom/WXDomObject.java   |   27 +-
 .../com/taobao/weex/dom/WXDomStatement.java     |    4 +-
 .../taobao/weex/dom/WXRecyclerDomObject.java    |  317 +
 .../main/java/com/taobao/weex/dom/WXStyle.java  |   65 +-
 .../java/com/taobao/weex/dom/flex/CSSNode.java  |    8 +-
 .../com/taobao/weex/http/WXStreamModule.java    |   28 +-
 .../com/taobao/weex/ui/WXRenderStatement.java   |   14 +-
 .../ui/animation/BackgroundColorProperty.java   |  252 +
 .../weex/ui/animation/WXAnimationModule.java    |   20 +-
 .../ui/component/AbstractEditComponent.java     |   28 +-
 .../taobao/weex/ui/component/WXBaseRefresh.java |   10 -
 .../weex/ui/component/WXBasicComponentType.java |    2 +
 .../taobao/weex/ui/component/WXComponent.java   |  101 +-
 .../com/taobao/weex/ui/component/WXEmbed.java   |    7 +-
 .../com/taobao/weex/ui/component/WXHeader.java  |    9 +-
 .../com/taobao/weex/ui/component/WXImage.java   |   90 +-
 .../taobao/weex/ui/component/WXIndicator.java   |    2 +-
 .../com/taobao/weex/ui/component/WXLoading.java |   12 +-
 .../com/taobao/weex/ui/component/WXRefresh.java |    5 +
 .../taobao/weex/ui/component/WXScroller.java    |   20 +-
 .../com/taobao/weex/ui/component/WXSlider.java  |   20 +-
 .../weex/ui/component/WXSliderNeighbor.java     |   42 +-
 .../taobao/weex/ui/component/WXVContainer.java  |   14 +
 .../ui/component/helper/WXStickyHelper.java     |   11 +-
 .../ui/component/list/BasicListComponent.java   |  181 +-
 .../ui/component/list/ListComponentView.java    |    4 +-
 .../ui/component/list/SimpleListComponent.java  |    6 +-
 .../ui/component/list/SimpleRecyclerView.java   |   77 +-
 .../ui/component/list/StickyHeaderHelper.java   |  337 +
 .../taobao/weex/ui/component/list/WXCell.java   |   11 +
 .../weex/ui/component/list/WXListComponent.java |   91 +-
 .../weex/ui/component/pesudo/PesudoStatus.java  |    2 +-
 .../com/taobao/weex/ui/module/WXMetaModule.java |    7 +-
 .../com/taobao/weex/ui/view/WXImageView.java    |   20 +-
 .../com/taobao/weex/ui/view/WXScrollView.java   |    4 +-
 .../weex/ui/view/border/BorderDrawable.java     |    9 +-
 .../taobao/weex/ui/view/border/BorderEdge.java  |   71 +-
 .../taobao/weex/ui/view/gesture/WXGesture.java  |    8 +-
 .../listview/ExtendedLinearLayoutManager.java   |   25 +
 .../weex/ui/view/listview/WXRecyclerView.java   |   43 +-
 .../listview/adapter/ListBaseViewHolder.java    |   42 +-
 .../adapter/RecyclerViewBaseAdapter.java        |   21 +-
 .../adapter/WXRecyclerViewOnScrollListener.java |  109 +-
 .../ui/view/refresh/wrapper/BaseBounceView.java |   74 +-
 .../refresh/wrapper/BounceRecyclerView.java     |  122 +-
 .../refresh/wrapper/BounceScrollerView.java     |    1 +
 .../java/com/taobao/weex/utils/WXFileUtils.java |   37 +-
 .../taobao/weex/utils/WXSoInstallMgrSdk.java    |    9 +-
 .../java/com/taobao/weex/utils/WXViewUtils.java |   85 +-
 .../test/java/com/taobao/weex/TestActivity.java |    6 +-
 .../java/com/taobao/weex/dom/WXStyleTest.java   |   23 +-
 .../taobao/weex/ui/module/WXMetaModuleTest.java |   10 +-
 .../taobao/weex/utils/FunctionParserTest.java   |   11 +-
 bin/dist-vue.sh                                 |   42 +
 build/config.js                                 |   13 +-
 build/karma.vue.conf.js                         |   69 +-
 build/webpack.examples.web.config.js            |   24 +-
 build/webpack.macacatest.config.js              |    6 +-
 dangerfile.js                                   |  147 +
 doc/_config.yml                                 |    4 +
 doc/package.json                                |    4 +-
 doc/source/cn/references/components/refresh.md  |    9 +-
 .../cn/references/components/waterfall.md       |   69 +
 doc/source/cn/references/modules/dom.md         |   75 +-
 doc/source/cn/releasenote.md                    |  858 ++
 doc/source/examples/dom-rect.md                 |   73 +-
 doc/source/references/components/refresh.md     |   11 +-
 doc/source/references/components/waterfall.md   |   60 +
 doc/source/references/modules/dom.md            |   74 +-
 doc/source/releasenote.md                       |  858 ++
 doc/themes/weex/languages/cn.yml                |    2 +
 doc/themes/weex/languages/en.yml                |    2 +
 doc/themes/weex/layout/_partial/footer.ejs      |    5 +-
 doc/themes/weex/layout/_partial/header.ejs      |   17 +-
 doc/themes/weex/source/css/partial/article.scss |    4 +
 examples/component/image-demo.we                |    2 +-
 examples/component/input-demo.we                |  253 +-
 examples/component/list/list-basic.we           |   79 +-
 examples/component/scroller-demo.we             |   64 +-
 examples/component/slider-tab.we                |  100 +
 examples/include/example-list-item.we           |   30 +-
 examples/index.we                               |    4 +-
 examples/module/chatroom-demo.we                |  227 +
 examples/module/websocket-demo.we               |  282 +-
 examples/showcase/boxshadow.we                  |   46 +
 examples/vue/animation.vue                      |    4 +-
 examples/vue/components/countdown.vue           |    2 +-
 examples/vue/components/image.vue               |    2 +-
 examples/vue/components/input.vue               |  203 +-
 examples/vue/components/list.vue                |   22 +-
 examples/vue/components/marquee.vue             |    3 +-
 examples/vue/components/navigator.vue           |    7 +-
 examples/vue/components/scroller.vue            |   34 +-
 examples/vue/components/slider.vue              |   22 +-
 examples/vue/components/text.vue                |    2 +-
 examples/vue/components/textarea.vue            |   57 +
 examples/vue/components/video.vue               |    2 +-
 examples/vue/components/waterfall.vue           |  468 +
 examples/vue/components/web.vue                 |    2 +-
 examples/vue/iconfont.vue                       |    2 +-
 examples/vue/include/base-url.js                |    4 +-
 examples/vue/include/button.vue                 |    2 +-
 examples/vue/include/countdown.vue              |    2 +-
 examples/vue/include/example-list-item.vue      |    2 +-
 examples/vue/include/example-list.vue           |    2 +-
 examples/vue/include/h1.vue                     |    2 +-
 examples/vue/include/h2.vue                     |    2 +-
 examples/vue/include/h3.vue                     |    2 +-
 examples/vue/include/hn.vue                     |    2 +-
 examples/vue/include/list-item.vue              |    2 +-
 examples/vue/include/marquee.vue                |    4 +-
 examples/vue/include/navbar.vue                 |    2 +-
 examples/vue/include/navpage.vue                |    2 +-
 examples/vue/include/panel.vue                  |   10 +-
 examples/vue/include/slider-item.vue            |    2 +-
 examples/vue/include/slider-page.vue            |    5 +-
 examples/vue/include/tabbar.vue                 |    6 +-
 examples/vue/include/tabitem.vue                |    2 +-
 examples/vue/include/tip.vue                    |    2 +-
 examples/vue/include/wxc-list-item.vue          |    2 +-
 examples/vue/index.vue                          |    2 +
 examples/vue/modules/stream.vue                 |    2 +-
 examples/vue/showcase/boxshadow.vue             |   39 +
 examples/vue/showcase/calculator.vue            |    2 +-
 examples/vue/showcase/include/banners.vue       |    4 +-
 examples/vue/showcase/include/brand.vue         |    2 +-
 examples/vue/showcase/include/category.vue      |    8 +-
 examples/vue/showcase/include/coupon.vue        |    2 +-
 examples/vue/showcase/include/goods.vue         |    4 +-
 examples/vue/showcase/include/headlines.vue     |    2 +-
 examples/vue/showcase/include/match.vue         |    4 +-
 examples/vue/showcase/include/resource.vue      |    2 +-
 examples/vue/showcase/include/scene.vue         |    4 +-
 examples/vue/showcase/itemlist.vue              |  246 +-
 examples/vue/showcase/new-fashion.vue           |    2 +-
 examples/vue/style/index.vue                    |    2 +-
 examples/vue/style/style-box.vue                |    2 +-
 examples/vue/style/style-flex.vue               |    2 +-
 examples/vue/style/style-item.vue               |    2 +-
 examples/vue/syntax/hello-world-3.vue           |    4 +-
 examples/vue/syntax/hello-world-4.vue           |    4 +-
 examples/vue/syntax/hello-world-5.vue           |    4 +-
 examples/vue/syntax/hello-world.vue             |    4 +-
 examples/vue/syntax/include/btn.vue             |    2 +-
 examples/vue/syntax/include/sub.vue             |    2 +-
 examples/vue/syntax/script-component.vue        |    2 +-
 examples/vue/syntax/script-data.vue             |    2 +-
 examples/vue/syntax/script-events.vue           |    4 +-
 examples/vue/syntax/script-instance.vue         |    2 +-
 examples/vue/syntax/script-lifecycle.vue        |    4 +-
 examples/vue/syntax/script-module.vue           |    2 +-
 examples/vue/syntax/script-options.vue          |    2 +-
 examples/vue/syntax/template-class.vue          |    2 +-
 examples/vue/syntax/template-event.vue          |    2 +-
 examples/vue/syntax/template-if.vue             |    2 +-
 examples/vue/syntax/template-repeat-update.vue  |    2 +-
 examples/vue/syntax/template-repeat.vue         |    8 +-
 flow-typed/npm/animationjs_vx.x.x.js            |   60 +
 flow-typed/npm/babel-core_vx.x.x.js             |  227 +
 flow-typed/npm/babel-eslint_vx.x.x.js           |   73 +
 flow-typed/npm/babel-istanbul_vx.x.x.js         |  353 +
 flow-typed/npm/babel-loader_vx.x.x.js           |   67 +
 flow-typed/npm/babel-plugin-coverage_vx.x.x.js  |   32 +
 flow-typed/npm/babel-preset-es2015_vx.x.x.js    |   32 +
 flow-typed/npm/babel-runtime_vx.x.x.js          | 1691 ++++
 flow-typed/npm/chai_v3.5.x.js                   |  212 +
 flow-typed/npm/chromedriver_vx.x.x.js           |   46 +
 flow-typed/npm/core-js_vx.x.x.js                | 9390 ++++++++++++++++++
 flow-typed/npm/cross-spawn_vx.x.x.js            |   59 +
 flow-typed/npm/css-loader_vx.x.x.js             |   87 +
 flow-typed/npm/cubicbezier_vx.x.x.js            |  109 +
 flow-typed/npm/danger_vx.x.x.js                 |  284 +
 flow-typed/npm/envd_vx.x.x.js                   |  109 +
 flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js |  319 +
 flow-typed/npm/eslint_vx.x.x.js                 | 1978 ++++
 flow-typed/npm/flow-bin_v0.x.x.js               |    6 +
 flow-typed/npm/fs-extra_vx.x.x.js               |  221 +
 flow-typed/npm/http-server_vx.x.x.js            |   39 +
 flow-typed/npm/httpurl_vx.x.x.js                |   67 +
 flow-typed/npm/inline-style-prefixer_vx.x.x.js  |  347 +
 flow-typed/npm/json-loader_vx.x.x.js            |   33 +
 flow-typed/npm/karma-coverage_vx.x.x.js         |   81 +
 flow-typed/npm/karma-mocha-reporter_vx.x.x.js   |   38 +
 flow-typed/npm/karma-mocha_vx.x.x.js            |   53 +
 .../npm/karma-phantomjs-launcher_vx.x.x.js      |   59 +
 flow-typed/npm/karma-sourcemap-loader_vx.x.x.js |   33 +
 flow-typed/npm/karma-webpack_vx.x.x.js          |   45 +
 flow-typed/npm/karma_vx.x.x.js                  |  445 +
 flow-typed/npm/lazyimg_vx.x.x.js                |   32 +
 flow-typed/npm/macaca-cli_vx.x.x.js             |  123 +
 flow-typed/npm/macaca-utils_vx.x.x.js           |   39 +
 flow-typed/npm/mocha_v2.4.x.js                  |   25 +
 flow-typed/npm/modals_vx.x.x.js                 |   81 +
 flow-typed/npm/nightwatch_vx.x.x.js             |  633 ++
 flow-typed/npm/phantomjs-prebuilt_vx.x.x.js     |  389 +
 flow-typed/npm/query-string_vx.x.x.js           |   33 +
 flow-typed/npm/reify_vx.x.x.js                  |   95 +
 flow-typed/npm/rollup-plugin-buble_vx.x.x.js    |   39 +
 flow-typed/npm/rollup-plugin-commonjs_vx.x.x.js |   81 +
 flow-typed/npm/rollup-plugin-eslint_vx.x.x.js   |   39 +
 .../rollup-plugin-flow-no-whitespace_vx.x.x.js  |   33 +
 flow-typed/npm/rollup-plugin-flow_vx.x.x.js     |   33 +
 flow-typed/npm/rollup-plugin-json_vx.x.x.js     |   46 +
 .../npm/rollup-plugin-node-resolve_vx.x.x.js    |   53 +
 flow-typed/npm/rollup-plugin-postcss_vx.x.x.js  |   38 +
 flow-typed/npm/rollup-plugin-replace_vx.x.x.js  |   46 +
 flow-typed/npm/rollup-plugin-uglify_vx.x.x.js   |   32 +
 flow-typed/npm/rollup-watch_vx.x.x.js           |   67 +
 flow-typed/npm/rollup_vx.x.x.js                 |   46 +
 flow-typed/npm/scroll-to_vx.x.x.js              |   33 +
 flow-typed/npm/selenium-server_vx.x.x.js        |   39 +
 flow-typed/npm/semver_v5.1.x.js                 |   81 +
 flow-typed/npm/serve_vx.x.x.js                  |   18 +
 flow-typed/npm/sinon-chai_vx.x.x.js             |   32 +
 flow-typed/npm/sinon_vx.x.x.js                  |  263 +
 flow-typed/npm/uglify-js_vx.x.x.js              |  116 +
 flow-typed/npm/vue-loader_vx.x.x.js             |  122 +
 flow-typed/npm/vue-template-compiler_vx.x.x.js  |   38 +
 flow-typed/npm/vue_vx.x.x.js                    | 1089 ++
 flow-typed/npm/webdriver-client_vx.x.x.js       |  129 +
 flow-typed/npm/webpack_vx.x.x.js                | 1523 +++
 flow-typed/npm/weex-components_vx.x.x.js        |   33 +
 flow-typed/npm/weex-loader_vx.x.x.js            |  108 +
 flow-typed/npm/weex-picker_vx.x.x.js            |   81 +
 flow-typed/npm/weex-rax-framework_vx.x.x.js     |  165 +
 flow-typed/npm/weex-styler_vx.x.x.js            |   66 +
 flow-typed/npm/weex-vdom-tester_vx.x.x.js       |  108 +
 flow-typed/npm/weex-vue-framework_vx.x.x.js     |   33 +
 flow-typed/npm/weex-wd_vx.x.x.js                |   38 +
 flow-typed/npm/wwp_vx.x.x.js                    |   39 +
 flow-typed/npm/xml2map_vx.x.x.js                |   45 +
 html5/frameworks/legacy/app/ctrl/init.js        |    2 +
 html5/render/browser/extend/api/stream.js       |    2 +-
 html5/render/browser/extend/components/input.js |   33 +
 .../browser/extend/components/textarea.js       |   32 +
 html5/render/browser/utils/index.js             |    9 +
 html5/render/vue/README.md                      |   51 +-
 html5/render/vue/components/a.js                |   18 +-
 html5/render/vue/components/div.js              |   25 +-
 html5/render/vue/components/image.js            |   81 +-
 html5/render/vue/components/index.js            |    9 +-
 html5/render/vue/components/input.js            |   31 +-
 .../render/vue/components/scrollable/header.js  |   40 +-
 .../vue/components/scrollable/list/cell.js      |   15 +-
 .../vue/components/scrollable/list/index.js     |   32 +-
 .../vue/components/scrollable/list/listMixin.js |  118 +-
 .../components/scrollable/loading-indicator.js  |    3 +-
 .../render/vue/components/scrollable/loading.js |   55 +-
 .../render/vue/components/scrollable/refresh.js |   64 +-
 .../vue/components/scrollable/scroller.js       |   30 +-
 .../render/vue/components/scrollable/shared.js  |   22 -
 html5/render/vue/components/slider/index.js     |   40 +-
 html5/render/vue/components/slider/indicator.js |  115 +-
 .../render/vue/components/slider/slideMixin.js  |  141 +-
 html5/render/vue/components/switch.js           |   11 +-
 html5/render/vue/components/text.js             |   45 +-
 html5/render/vue/components/textarea.js         |   29 +-
 html5/render/vue/components/video.js            |   14 +-
 html5/render/vue/components/web.js              |   19 +-
 html5/render/vue/env/WXEnvironment.js           |   39 -
 html5/render/vue/env/index.js                   |   17 +-
 html5/render/vue/env/viewport.js                |   56 +-
 html5/render/vue/env/weex.js                    |   30 +-
 html5/render/vue/env/wx-env.js                  |   48 +
 html5/render/vue/index.js                       |   64 +-
 html5/render/vue/mixins/base.js                 |  110 +-
 html5/render/vue/mixins/event.js                |   76 -
 html5/render/vue/mixins/index.js                |    8 +-
 html5/render/vue/mixins/input-common.js         |   47 +
 html5/render/vue/mixins/scrollable.js           |  110 +
 html5/render/vue/mixins/style.js                |  265 +-
 html5/render/vue/modules/dom.js                 |   69 +-
 html5/render/vue/modules/index.js               |   42 +-
 html5/render/vue/styles/components.css          |  225 +-
 html5/render/vue/styles/reset.css               |   44 +-
 html5/render/vue/utils/component.js             |   83 +-
 html5/render/vue/utils/event.js                 |   91 +-
 html5/render/vue/utils/func.js                  |   81 +-
 html5/render/vue/utils/index.js                 |   55 +-
 html5/render/vue/utils/lazyload.js              |  102 +
 html5/render/vue/utils/perf.js                  |  170 +
 html5/render/vue/utils/style.js                 |   21 +
 html5/render/vue/utils/type.js                  |   20 +
 html5/shared/freeze.js                          |   58 +-
 html5/test/render/index.js                      |    3 -
 html5/test/render/vue/components/a.js           |   38 +
 html5/test/render/vue/components/div.js         |   29 +
 html5/test/render/vue/components/image.js       |   44 +-
 html5/test/render/vue/components/list.js        |   21 +-
 html5/test/render/vue/components/switch.js      |   35 +-
 html5/test/render/vue/components/text.js        |   42 +-
 html5/test/render/vue/components/web.js         |   14 +-
 html5/test/render/vue/examples/list-cell.js     |   16 +-
 html5/test/render/vue/helper.js                 |  157 +-
 html5/test/render/vue/utils.js                  |    1 -
 html5/test/render/vue/validator/check.js        |    1 -
 html5/test/render/vue/validator/index.js        |    1 -
 html5/test/render/vue/validator/prop.js         |    1 -
 html5/test/render/vue/validator/style.js        |    1 -
 html5/test/unit/shared/index.js                 |    2 +-
 index.html                                      |    3 +-
 ios/playground/Podfile                          |    2 +-
 ios/playground/WeexDemo.app.zip                 |  Bin 2561323 -> 0 bytes
 ios/playground/WeexDemo/DemoDefine.h            |    2 +-
 ios/playground/WeexDemo/Info.plist              |    2 +-
 ios/playground/WeexDemo/UIView+UIThreadCheck.m  |    2 +-
 ios/playground/WeexDemo/WXDemoViewController.m  |    5 +-
 ios/playground/bundlejs/component/image-demo.js |    2 +-
 ios/playground/bundlejs/component/input-demo.js | 2683 ++---
 .../bundlejs/component/lengthunitwx-demo.js     |  329 +
 .../bundlejs/component/list/list-basic.js       |  132 +-
 .../component/list/list-demo-horizon.js         |   12 +-
 .../bundlejs/component/list/list-demo.js        |   12 +-
 .../bundlejs/component/list/waterfall.js        |  877 ++
 .../bundlejs/component/marquee-demo.js          |   13 +-
 .../bundlejs/component/process-bar-demo.js      |   17 +-
 .../bundlejs/component/scroller-demo.js         |  219 +-
 .../bundlejs/component/slider-neighbor/index.js |    8 +-
 .../slider-neighbor/slider-neighbor-item.js     |   12 +-
 .../slider-neighbor/slider-neighbor-page.js     |   28 +-
 ios/playground/bundlejs/component/slider-tab.js |  633 ++
 .../bundlejs/component/slider/index.js          |   56 +-
 .../bundlejs/component/slider/slider-item.js    |   12 +-
 .../bundlejs/component/slider/slider-page.js    |   28 +-
 ios/playground/bundlejs/component/text-demo.js  |   24 +-
 ios/playground/bundlejs/component/video-demo.js |   24 +-
 ios/playground/bundlejs/component/web-demo.js   |   25 +-
 ios/playground/bundlejs/error.js                |   20 +-
 ios/playground/bundlejs/geolocation.js          |   46 +-
 ios/playground/bundlejs/hello.js                |    4 +-
 ios/playground/bundlejs/iconfont.js             |   12 +-
 ios/playground/bundlejs/index.js                |  270 +-
 ios/playground/bundlejs/linear-gradient.js      |    8 +-
 ios/playground/bundlejs/module/chatroom-demo.js |  370 +
 ios/playground/bundlejs/module/clipboard.js     |   61 +-
 ios/playground/bundlejs/module/componentRect.js |   28 +-
 ios/playground/bundlejs/module/instance-api.js  |   61 +-
 ios/playground/bundlejs/module/modal.js         |   27 +-
 ios/playground/bundlejs/module/picker-demo.js   |   27 +-
 ios/playground/bundlejs/module/storage-demo.js  |   61 +-
 ios/playground/bundlejs/module/stream-demo.js   |   61 +-
 .../bundlejs/module/websocket-demo.js           | 2661 ++---
 ios/playground/bundlejs/showcase/boxshadow.js   |  269 +
 ios/playground/bundlejs/showcase/calculator.js  |   30 +-
 .../bundlejs/showcase/dropdown/dropdown-demo.js |   38 +-
 .../bundlejs/showcase/dropdown/we-dropdown.js   |   12 +-
 ios/playground/bundlejs/showcase/minesweeper.js |   12 +-
 .../bundlejs/showcase/pseudo-class.js           |   30 +-
 ios/playground/bundlejs/showcase/ui.js          |   30 +-
 ios/playground/bundlejs/style/index.js          |   82 +-
 ios/playground/bundlejs/style/style-box.js      |   46 +-
 ios/playground/bundlejs/style/style-flex.js     |   54 +-
 ios/playground/bundlejs/style/style-item.js     |   12 +-
 ios/playground/bundlejs/syntax/hello-world-1.js |    4 +-
 ios/playground/bundlejs/syntax/hello-world-2.js |    4 +-
 ios/playground/bundlejs/syntax/hello-world-3.js |    8 +-
 ios/playground/bundlejs/syntax/hello-world-4.js |   12 +-
 ios/playground/bundlejs/syntax/hello-world-5.js |   12 +-
 ios/playground/bundlejs/syntax/hello-world.js   |   12 +-
 ios/playground/bundlejs/syntax/index.js         |  296 +-
 .../bundlejs/syntax/script-component.js         |   24 +-
 ios/playground/bundlejs/syntax/script-data.js   |   12 +-
 ios/playground/bundlejs/syntax/script-events.js |   20 +-
 .../bundlejs/syntax/script-instance.js          |   12 +-
 .../bundlejs/syntax/script-lifecycle.js         |   12 +-
 ios/playground/bundlejs/syntax/script-module.js |   12 +-
 .../bundlejs/syntax/script-options.js           |   12 +-
 .../bundlejs/syntax/template-class.js           |   12 +-
 .../bundlejs/syntax/template-content.js         |   20 +-
 .../bundlejs/syntax/template-event.js           |   12 +-
 ios/playground/bundlejs/syntax/template-if.js   |   12 +-
 .../bundlejs/syntax/template-repeat-update.js   |   12 +-
 .../bundlejs/syntax/template-repeat.js          |   12 +-
 .../bundlejs/syntax/template-style.js           |    8 +-
 ios/playground/bundlejs/template.js             |   12 +-
 ios/playground/bundlejs/test.js                 |    8 +-
 ios/playground/bundlejs/vue/animation.js        |  120 +-
 ios/playground/bundlejs/vue/components/a.js     |   97 +-
 .../bundlejs/vue/components/countdown.js        |  122 +-
 ios/playground/bundlejs/vue/components/image.js |  142 +-
 ios/playground/bundlejs/vue/components/input.js |  735 +-
 ios/playground/bundlejs/vue/components/list.js  |   44 +-
 .../bundlejs/vue/components/marquee.js          |  105 +-
 .../bundlejs/vue/components/navigator.js        |  187 +-
 .../bundlejs/vue/components/scroller.js         |   48 +-
 .../bundlejs/vue/components/slider.js           |  341 +-
 .../bundlejs/vue/components/tabbar.js           |  133 +-
 ios/playground/bundlejs/vue/components/text.js  |  132 +-
 ios/playground/bundlejs/vue/components/video.js |   72 +-
 .../bundlejs/vue/components/waterfall.js        |  877 ++
 ios/playground/bundlejs/vue/components/web.js   |   74 +-
 ios/playground/bundlejs/vue/hello.js            |   19 +-
 ios/playground/bundlejs/vue/iconfont.js         |   36 +-
 ios/playground/bundlejs/vue/index.js            |  139 +-
 .../bundlejs/vue/modules/clipboard.js           |  147 +-
 .../bundlejs/vue/modules/instance-api.js        |   59 +-
 ios/playground/bundlejs/vue/modules/modal.js    |  105 +-
 ios/playground/bundlejs/vue/modules/storage.js  |   71 +-
 ios/playground/bundlejs/vue/modules/stream.js   |   95 +-
 .../bundlejs/vue/showcase/boxshadow.js          |  244 +
 .../bundlejs/vue/showcase/calculator.js         |   72 +-
 .../bundlejs/vue/showcase/itemlist.js           |  166 +-
 .../bundlejs/vue/showcase/new-fashion.js        |  557 +-
 .../bundlejs/vue/showcase/progress.js           |   63 +-
 ios/playground/bundlejs/vue/style/index.js      |  418 +-
 ios/playground/bundlejs/vue/style/style-box.js  |  180 +-
 ios/playground/bundlejs/vue/style/style-flex.js |  238 +-
 ios/playground/bundlejs/vue/style/style-item.js |   26 +-
 .../bundlejs/vue/syntax/hello-world-1.js        |   17 +-
 .../bundlejs/vue/syntax/hello-world-2.js        |   23 +-
 .../bundlejs/vue/syntax/hello-world-3.js        |   28 +-
 .../bundlejs/vue/syntax/hello-world-4.js        |   32 +-
 .../bundlejs/vue/syntax/hello-world-5.js        |   32 +-
 .../bundlejs/vue/syntax/hello-world.js          |   32 +-
 .../bundlejs/vue/syntax/script-component.js     |   64 +-
 .../bundlejs/vue/syntax/script-data.js          |   36 +-
 .../bundlejs/vue/syntax/script-events.js        |   32 +-
 .../bundlejs/vue/syntax/script-instance.js      |   30 +-
 .../bundlejs/vue/syntax/script-lifecycle.js     |   32 +-
 .../bundlejs/vue/syntax/script-module.js        |   30 +-
 .../bundlejs/vue/syntax/script-options.js       |   28 +-
 .../bundlejs/vue/syntax/template-class.js       |   34 +-
 .../bundlejs/vue/syntax/template-content.js     |   49 +-
 .../bundlejs/vue/syntax/template-event.js       |   36 +-
 .../bundlejs/vue/syntax/template-if.js          |   32 +-
 .../vue/syntax/template-repeat-update.js        |   40 +-
 .../bundlejs/vue/syntax/template-repeat.js      |   50 +-
 .../bundlejs/vue/syntax/template-style.js       |   27 +-
 ios/playground/bundlejs/vue/template.js         |  181 +-
 ios/sdk/WeexSDK.podspec                         |    2 +-
 ios/sdk/WeexSDK.xcodeproj/project.pbxproj       |  121 +-
 ios/sdk/WeexSDK/Resources/main.js               |   14 +-
 ios/sdk/WeexSDK/Sources/Bridge/WXBridgeMethod.h |    2 +-
 ios/sdk/WeexSDK/Sources/Bridge/WXBridgeMethod.m |    4 +-
 ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m |    7 +
 ios/sdk/WeexSDK/Sources/Bridge/WXModuleMethod.m |   22 +
 .../Component/Recycler/WXMultiColumnLayout.h    |   44 +
 .../Component/Recycler/WXMultiColumnLayout.m    |  392 +
 .../Component/Recycler/WXRecyclerComponent.h    |   12 +
 .../Component/Recycler/WXRecyclerComponent.m    |  648 ++
 .../Recycler/WXRecyclerDataController.h         |   38 +
 .../Recycler/WXRecyclerDataController.m         |  132 +
 .../Recycler/WXRecyclerUpdateController.h       |   32 +
 .../Recycler/WXRecyclerUpdateController.m       |  250 +
 .../Recycler/WXSectionDataController.h          |   33 +
 .../Recycler/WXSectionDataController.m          |   81 +
 .../WeexSDK/Sources/Component/WXCellComponent.h |   23 +-
 .../WeexSDK/Sources/Component/WXCellComponent.m |   32 +-
 .../Component/WXComponent+GradientColor.h       |   15 +-
 .../Component/WXComponent+GradientColor.m       |   18 +-
 .../Sources/Component/WXComponent_internal.h    |    3 +
 .../WeexSDK/Sources/Component/WXEditComponent.h |   21 +
 .../WeexSDK/Sources/Component/WXEditComponent.m |  780 ++
 .../Sources/Component/WXFooterComponent.h       |   13 +
 .../Sources/Component/WXFooterComponent.m       |   13 +
 .../Sources/Component/WXHeaderComponent.h       |   28 +
 .../Sources/Component/WXHeaderComponent.m       |   76 +
 .../Sources/Component/WXImageComponent.m        |    1 +
 .../WeexSDK/Sources/Component/WXListComponent.h |   12 -
 .../WeexSDK/Sources/Component/WXListComponent.m |  336 +-
 .../Sources/Component/WXLoadingComponent.m      |   13 -
 .../Sources/Component/WXRefreshComponent.h      |    6 +-
 .../Sources/Component/WXRefreshComponent.m      |   18 +-
 .../Sources/Component/WXScrollerComponent.m     |   39 +-
 .../Sources/Component/WXSliderComponent.m       |   56 +-
 .../Component/WXSliderNeighborComponent.m       |    3 +-
 .../Sources/Component/WXTextAreaComponent.h     |    5 +-
 .../Sources/Component/WXTextAreaComponent.m     |  602 +-
 .../Sources/Component/WXTextInputComponent.h    |    8 +-
 .../Sources/Component/WXTextInputComponent.m    |  605 +-
 ios/sdk/WeexSDK/Sources/Component/WXTransform.m |   18 +-
 .../WeexSDK/Sources/Component/WXWebComponent.m  |    2 +-
 .../Sources/Display/WXComponent+BoxShadow.h     |   34 +
 .../Sources/Display/WXComponent+BoxShadow.m     |   91 +
 ios/sdk/WeexSDK/Sources/Display/WXInnerLayer.h  |   19 +
 ios/sdk/WeexSDK/Sources/Display/WXInnerLayer.m  |   87 +
 ios/sdk/WeexSDK/Sources/Engine/WXSDKEngine.m    |   13 +-
 .../WeexSDK/Sources/Events/WXComponent+Events.m |    4 +
 ios/sdk/WeexSDK/Sources/Layout/Layout.c         |    3 +
 .../WeexSDK/Sources/Layout/WXComponent+Layout.m |   16 +-
 .../Sources/Manager/WXComponentManager.m        |   15 +-
 .../Sources/Manager/WXInvocationConfig.h        |    1 -
 .../Sources/Manager/WXInvocationConfig.m        |   12 -
 ios/sdk/WeexSDK/Sources/Manager/WXRuleManager.m |    5 +-
 ios/sdk/WeexSDK/Sources/Model/WXComponent.m     |   11 +-
 ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.h   |    6 +
 ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m   |    9 +-
 .../WeexSDK/Sources/Module/WXAnimationModule.m  |   58 +-
 ios/sdk/WeexSDK/Sources/Module/WXMetaModule.m   |    4 +-
 .../WeexSDK/Sources/Module/WXNavigatorModule.m  |    5 +-
 .../WeexSDK/Sources/Module/WXStorageModule.m    |    2 +-
 ios/sdk/WeexSDK/Sources/Module/WXStreamModule.m |  239 +-
 .../WeexSDK/Sources/Module/WXWebSocketModule.m  |    4 +-
 .../WXResourceRequestHandlerDefaultImpl.m       |    7 +-
 .../Sources/Protocol/WXJSExceptionProtocol.h    |    6 +-
 .../Sources/Protocol/WXValidateProtocol.h       |   39 +
 ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.h   |   31 +
 ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.m   |  142 +
 ios/sdk/WeexSDK/Sources/Utility/WXConvert.h     |    5 +
 ios/sdk/WeexSDK/Sources/Utility/WXConvert.m     |  100 +-
 ios/sdk/WeexSDK/Sources/Utility/WXDefine.h      |    2 +-
 ios/sdk/WeexSDK/Sources/Utility/WXDiffUtil.h    |   38 +
 ios/sdk/WeexSDK/Sources/Utility/WXDiffUtil.m    |  186 +
 ios/sdk/WeexSDK/Sources/Utility/WXLength.h      |   13 +-
 ios/sdk/WeexSDK/Sources/Utility/WXLength.m      |   45 +-
 ios/sdk/WeexSDK/Sources/Utility/WXUtility.m     |   26 +-
 .../Sources/View/WXComponent+ViewManagement.m   |   23 +-
 ios/sdk/WeexSDK/Sources/WeexSDK.h               |    1 +
 ios/sdk/WeexSDKTests/WXStorageTests.m           |    9 -
 package.json                                    |   40 +-
 packages/weex-vue-render/README.md              |   51 +-
 packages/weex-vue-render/package.json           |   13 +-
 test/README.md                                  |    3 +-
 test/ci-funcs.sh                                |   55 +-
 test/pages/components/recycler.vue              |  487 +
 test/pages/components/scroller-fixed.we         |   62 +
 test/pages/image-onload.we                      |   19 +
 test/scripts/components/image-onload.test.js    |   39 +
 test/scripts/components/recycler.test.js        |  412 +
 test/scripts/components/scroll-event.test.js    |   28 +-
 test/scripts/components/scroller-fixed.test.js  |   39 +
 test/scripts/dom.test.js                        |   12 +-
 test/scripts/index.test.js                      |   12 +-
 test/scripts/util.js                            |   24 +
 vue.html                                        |   53 +-
 678 files changed, 80799 insertions(+), 11965 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/11f72973/doc/source/cn/references/modules/dom.md
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/11f72973/doc/source/references/modules/dom.md
----------------------------------------------------------------------
diff --cc doc/source/references/modules/dom.md
index 77fefcf,cda9fc7..5b7cba3
--- a/doc/source/references/modules/dom.md
+++ b/doc/source/references/modules/dom.md
@@@ -202,6 -252,4 +253,5 @@@ Example Useage
  </style>
  ```
  
- 
 -[try it](http://dotwe.org/vue/d069a9bf0f0781b914f12a9a7b9a1447)
 +[try it](http://dotwe.org/vue/87d4ed571de129ab28052b06a5d65fc8)
 +



[10/10] incubator-weex git commit: Merge branch 'dev' of https://github.com/kfeagle/incubator-weex into dev

Posted by da...@apache.org.
Merge branch 'dev' of https://github.com/kfeagle/incubator-weex into dev


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

Branch: refs/heads/dev
Commit: 6bd212e651c3c0caec528f2bc847347f5a099085
Parents: 1e923a4 00b0374
Author: MrRaindrop <te...@gmail.com>
Authored: Tue Apr 11 11:14:46 2017 +0800
Committer: MrRaindrop <te...@gmail.com>
Committed: Tue Apr 11 11:14:46 2017 +0800

----------------------------------------------------------------------
 doc/source/cn/references/common-style.md        | 82 ++++++++++++++++----
 doc/source/cn/references/components/input.md    | 14 +++-
 doc/source/cn/references/modules/dom.md         |  1 +
 doc/source/references/common-style.md           | 71 ++++++++++++++---
 doc/source/references/components/input.md       | 23 +++++-
 doc/source/references/modules/dom.md            |  4 +-
 .../Sources/Display/WXComponent+BoxShadow.h     |  2 +-
 .../Sources/Display/WXComponent+BoxShadow.m     | 10 +--
 ios/sdk/WeexSDK/Sources/Display/WXInnerLayer.h  |  2 +-
 ios/sdk/WeexSDK/Sources/Display/WXInnerLayer.m  |  4 +-
 .../WeexSDK/Sources/Layout/WXComponent+Layout.m |  2 +-
 ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.h   |  2 +-
 ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.m   | 18 +----
 13 files changed, 179 insertions(+), 56 deletions(-)
----------------------------------------------------------------------



[07/10] incubator-weex git commit: *[doc] update demo

Posted by da...@apache.org.
*[doc] update demo

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

Branch: refs/heads/dev
Commit: 85a2578d12dec76f3158dbe51581cb3c4b411bf7
Parents: 38d06f3
Author: \u9f50\u5c71 <su...@163.com>
Authored: Mon Apr 10 15:37:23 2017 +0800
Committer: GitHub <no...@github.com>
Committed: Mon Apr 10 15:37:23 2017 +0800

----------------------------------------------------------------------
 doc/source/cn/references/common-style.md | 58 +++++++++++++--------------
 1 file changed, 29 insertions(+), 29 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/85a2578d/doc/source/cn/references/common-style.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/references/common-style.md b/doc/source/cn/references/common-style.md
index c01c55e..f3e84f7 100644
--- a/doc/source/cn/references/common-style.md
+++ b/doc/source/cn/references/common-style.md
@@ -471,42 +471,42 @@ Weex \u652f\u6301\u9634\u5f71\u5c5e\u6027\uff1a`active`, `focus`, `disabled`, `enabled` `inset(\u53ef\u9009
 
 ```html
 <template>
-    <div class="wrapper">
-        <div style="width:400px; height:60px;background-color: #FFE4C4; box-shadow:20px  10px rgb(255, 69, 0);">
-            <text class="title" style="text-align: center">Hello {{target}}</text>
-        </div>
-        <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow: 20px  10px 5px rgba(255, 69, 0, 0.8);">
-            <text class="title" style="text-align: center">Hello {{target}}</text>
-        </div>
-        <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:inset 20px  10px 5px rgba(255, 69, 0, 0.8);">
-            <text class="title" style="text-align: center">Hello {{target}}</text>
-        </div>
-        <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:inset 20px  10px 5px rgb(255, 69, 0);">
-            <text class="title" style="text-align: center">Hello {{target}}</text>
-        </div>
-        <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:20px  10px 5px black;">
-            <text class="title" style="text-align: center">Hello {{target}}</text>
-        </div>
-        <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:20px  10px 5px #008B00;">
-            <text class="title" style="text-align: center">Hello {{target}}</text>
-        </div>
+  <div class="wrapper">
+    <div style="width:400px; height:60px;background-color: #FFE4C4; box-shadow:20px  10px rgb(255, 69, 0);">
+      <text class="title" style="text-align: center">Hello {{target}}</text>
+    </div>
+    <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow: 20px  10px 5px rgba(255, 69, 0, 0.8);">
+      <text class="title" style="text-align: center">Hello {{target}}</text>
+    </div>
+    <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:inset 20px  10px 5px rgba(255, 69, 0, 0.8);">
+      <text class="title" style="text-align: center">Hello {{target}}</text>
     </div>
+    <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:inset 20px  10px 5px rgb(255, 69, 0);">
+      <text class="title" style="text-align: center">Hello {{target}}</text>
+    </div>
+    <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:20px  10px 5px black;">
+      <text class="title" style="text-align: center">Hello {{target}}</text>
+    </div>
+    <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:20px  10px 5px #008B00;">
+      <text class="title" style="text-align: center">Hello {{target}}</text>
+    </div>
+  </div>
 </template>
 
 <style scoped>
-    .wrapper {align-items: center; margin-top: 120px;}
-    .title {font-size: 48px;}
+  .wrapper {align-items: center; margin-top: 120px;}
+  .title {font-size: 48px;}
 </style>
 
 <script>
-    module.exports = {
-        data: function () {
-            return {
-                logoUrl: 'https://alibaba.github.io/weex/img/weex_logo_blue@3x.png',
-                target: 'World'
-            };
-        }
-    };
+  module.exports = {
+    data: function () {
+      return {
+        logoUrl: 'https://alibaba.github.io/weex/img/weex_logo_blue@3x.png',
+        target: 'World'
+      };
+    }
+  };
 </script>
 ```