wqyfavor closed pull request #288: update input and globalEvent document
URL: https://github.com/apache/incubator-weex-site/pull/288
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/docs/community/roadmap.md b/docs/community/roadmap.md
index 30be6951c..5c0e9e8ea 100644
--- a/docs/community/roadmap.md
+++ b/docs/community/roadmap.md
@@ -4,24 +4,16 @@
 
 ## WeexCore
 ### JS binding
-#### v0.20
-* Comes out with new C++ timer that more efficient than platform timer module;
-* New c++ MessageLoop and thread interaction support in WeexCore;
 #### v0.21
 * New WeexCore 3.0 structure. Support more platforms, Android, iOS, Windows...
 * Standlone jsRuntime with javaScriptCore standard API instead of source code. 
Available for both android and ios.
 * Support native dom Binding for better portability and performance.
 
 ### Layout
-#### v0.20
-* Add test insfrastructure for layout engine.
-* Support direction:RTL and minor bugfix.
 #### v0.21
+* Support more layout attribute.
 * Add enough test cases to cover layout engine.
 ### Render
-#### v0.20
-* Support renderPage life cycle management and resource management.
-* Support render task schedule.
 #### v0.21
 ## tools
 
diff --git a/docs/docs/components/input.md b/docs/docs/components/input.md
index 58f29eb6e..a8c4bd0a5 100644
--- a/docs/docs/components/input.md
+++ b/docs/docs/components/input.md
@@ -50,7 +50,7 @@ No child should be added to a `input`.
   * `disabled`
   * `enabled`
 
-* text styles: checkout [text styles](/wiki/text-styles.html)
+* text styles: checkout [text styles](/docs/styles/text-styles.html)
 
   * support `color` style.
   * support `font-size` style.
@@ -59,7 +59,7 @@ No child should be added to a `input`.
   * support `text-align` style.
 
 ### common styles
-check out [common styles for components](/wiki/common-styles.html)
+check out [common styles for components](/docs/styles/common-styles.html)
 
 * support flexbox related styles.
 * support box model related styles.
@@ -68,7 +68,7 @@ check out [common styles for 
components](/wiki/common-styles.html)
 
 ## Events
 
-* **common events**. support [common events](../events/common-events.html).
+* **common events**. support [common events](docs/events/common-events.html).
 * **input**. Fired when the text is being changed.
   * @param value: current text of the input.
 * **change**. Fired when the user finished and make a commit.
@@ -83,7 +83,7 @@ check out [common styles for 
components](/wiki/common-styles.html)
   * @param keyboardSize: keyboard size in web pixel format.
 
 ### common events
-check out [common events](/wiki/common-events.html)
+check out [common events](/docs/events/common-events.html)
 
 * support `appear` / `disappear` event.
 
diff --git a/docs/docs/modules/globalEvent.md b/docs/docs/modules/globalEvent.md
index 7237a6af3..b879e5c98 100644
--- a/docs/docs/modules/globalEvent.md
+++ b/docs/docs/modules/globalEvent.md
@@ -90,6 +90,7 @@ globalEvent.removeEventListener("geolocation");
 
 ## Built-in global event
 <span class="weex-version">0.14</span>
+
 ### background or foreground event
 You can specify the event name as `WXApplicationDidBecomeActiveEvent ` or 
`WXApplicationWillResignActiveEvent` to obtain application becoming foreground 
or background, so that you can pause your video or music at this time.For 
example
 
@@ -105,5 +106,5 @@ 
globalEvent.addEventListener("WXApplicationDidBecomeActiveEvent", function (e) {
 
 [have a try at DotWe](http://dotwe.org/vue/5a774e8ce3766c88038cab6fe3331f5b)
 
-> this feature only works on iOS and Android platforms, it doesn't work on 
Web. [Obtain your weex platform on weex 
page](../weex-variable.html#weex-environment-object)
+> this feature only works on iOS and Android platforms, it doesn't work on 
Web. [Obtain your weex platform on weex 
page](/docs/api/weex-variable.html#weex-environment-object)
 
diff --git a/docs/zh/community/roadmap.md b/docs/zh/community/roadmap.md
index 8677e89dc..8e0a972ba 100644
--- a/docs/zh/community/roadmap.md
+++ b/docs/zh/community/roadmap.md
@@ -4,24 +4,17 @@
 
 ## WeexCore
 ### JS Runtime
-#### v0.20
-* 全新的 c++ 定时器, 相比平台的定时器更加的精准和高效.
-* WeexCore 多线程架构和线程之间的交互支持.
 #### v0.21
+
 * 全新的 WeexCore 3.0 架构, 支持更多的平台, ios, Android 和  Windows.
 * 使用 JavaScriptCore 标准的 api 代替原有的源码接入, 独立的 JSRuntime, 使 ios 和 Android 都可以运行在上面.
 * 更高性能的 C++ Dom API.
 
 ### Layout
-#### v0.20
-* 为 Layout 引擎添加基础的测试设施.
-* 支持 RTL 布局和修复重大 bug.
 #### v0.21
+*  为 Layout 引擎增加更多的属性支持
 *  为 Layout 引擎添加更多的测试用例.
 ### Render
-#### v0.20
-* 支持渲染页面的生命周期管理, 和资源管理.
-* 支持渲染任务调度.
 #### v0.21
 ## 工具
 
@@ -31,7 +24,7 @@
 - 更好的单元测试支持
 - Visual Studio Code  IDE插件支持 编译/运行/调试.
 - 拆成多包模式, 可以在服务端复用.
- 
+
 另外, 我们添加了一些新功能和优化来支持子模块, 例如 weex-debugger,weexpack 等等.
 
 所有的计划可以参考这里 [milestones](https://github.com/weexteam/weex-toolkit/milestones).
diff --git a/docs/zh/docs/components/input.md b/docs/zh/docs/components/input.md
index d74aadeda..835f5eae4 100644
--- a/docs/zh/docs/components/input.md
+++ b/docs/zh/docs/components/input.md
@@ -61,11 +61,11 @@ placeholder 字符颜色。默认值是 `#999999`
 - `opacity`
 - `background-color`
 
-查看 [组件通用样式](/guide/common-styles.html)
+查看 [组件通用样式](/zh/docs/styles/common-styles.html)
 
 ## 事件
 
-* **通用事件** 支持所有[通用事件](../events/common-events.html)。
+* **通用事件** 支持所有[通用事件](/zh/docs/events/common-events.html)。
 * **input**. 当输入状态时,会不断触发。
   * @param value: 当前文本。
 * **change**. 当用户完成了输入时触发。
diff --git a/docs/zh/docs/modules/globalEvent.md 
b/docs/zh/docs/modules/globalEvent.md
index 9dc012de0..6d4c850f5 100644
--- a/docs/zh/docs/modules/globalEvent.md
+++ b/docs/zh/docs/modules/globalEvent.md
@@ -99,5 +99,5 @@ 
globalEvent.addEventListener('WXApplicationDidBecomeActiveEvent', function(e) {
 在 [dotWe 上试一试](http://dotwe.org/vue/c89e85483ca2cb2274837ef027030539)
 
 ::: warning 注意
-目前只有 platform 为 iOS 和 Android 才能支持。[获取当前 
platform](http://weex-project.io/cn/references/weex-variable.html#weex-environment-object)
+目前只有 platform 为 iOS 和 Android 才能支持。[获取当前 
platform](/zh/docs/api/weex-variable.html#weex-environment-object)
 :::


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to