You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ji...@apache.org on 2017/02/20 06:40:56 UTC

[07/50] [abbrv] incubator-weex git commit: * [doc] update js-service doc

* [doc] update js-service 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/e6409220
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/e6409220
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/e6409220

Branch: refs/heads/master
Commit: e6409220e88b7d32ade74f62a8960da448c5dc85
Parents: e687713
Author: Yun Dong <yu...@gmail.com>
Authored: Thu Feb 16 10:59:50 2017 +0800
Committer: GitHub <no...@github.com>
Committed: Thu Feb 16 10:59:50 2017 +0800

----------------------------------------------------------------------
 doc/source/references/js-service/index.md | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/e6409220/doc/source/references/js-service/index.md
----------------------------------------------------------------------
diff --git a/doc/source/references/js-service/index.md b/doc/source/references/js-service/index.md
index 1accdd7..9414452 100644
--- a/doc/source/references/js-service/index.md
+++ b/doc/source/references/js-service/index.md
@@ -8,6 +8,8 @@ version: 2.1
 
 # JS Service
 
+<span class="weex-version">v0.9.5+</span>
+
 JS service and Weex instance are parallel in js runtime. Weex instance lifecycle will invoke JS service lifecycle. Currently provide create, refresh, destroy of lifecycle.
 
 !!!Important: JS Service is very powerful. Please be careful to use.
@@ -96,7 +98,7 @@ service.register(options.serviceName, {
 ```
 
 ## Using JS Service (vuejs)
-```
+```html
 <script>
 var _InstanceService = new InstanceService(weex)
 var _NormalService = new service.normalService(weex)