http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/d332a30e/cn/references/advanced/extend-jsfm.html
----------------------------------------------------------------------
diff --git a/cn/references/advanced/extend-jsfm.html
b/cn/references/advanced/extend-jsfm.html
deleted file mode 100644
index 0729a00..0000000
--- a/cn/references/advanced/extend-jsfm.html
+++ /dev/null
@@ -1,1501 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta charset="utf-8">
-
- <title>æå± JS framework | Weex</title>
- <meta name="viewport" content="width=device-width, initial-scale=1,
maximum-scale=1">
- <meta name="description" content="å®å¶èªå·±ç JS
Frameworkè¿é¨åæ©å±è½åè¿å¨è®¨è®ºå°è¯ä¸ï¼å¯è½éæ¶ä¼æè°æ´ï¼è¯·çæã
Weex å¸æè½å¤å°éå°½å¯è½å¤çå¼åè
ç使ç¨ä¹ æ¯ï¼æ以é¤äº
Weex å®æ¹æ¯æç Vue 2.0 ä¹å¤ï¼å¼åè
è¿å¯ä»¥å®å¶å¹¶æ¨ªåæ©å±èªå·±çæèªå·±å欢ç JS
Frameworkãå®æ´ä¸å¥ JS Framework çå®å¶åæ©å±éè¦ä»¥ä¸å
个æ¥éª¤ï¼ é¦å
ä½ è¦æä¸å¥å®æ´ç JS Frameworkã äºè§£ We">
-<meta property="og:type" content="website">
-<meta property="og:title" content="æå± JS framework">
-<meta property="og:url"
content="https://weex-project.io/cn/references/advanced/extend-jsfm.html">
-<meta property="og:site_name" content="Weex">
-<meta property="og:description" content="å®å¶èªå·±ç JS
Frameworkè¿é¨åæ©å±è½åè¿å¨è®¨è®ºå°è¯ä¸ï¼å¯è½éæ¶ä¼æè°æ´ï¼è¯·çæã
Weex å¸æè½å¤å°éå°½å¯è½å¤çå¼åè
ç使ç¨ä¹ æ¯ï¼æ以é¤äº
Weex å®æ¹æ¯æç Vue 2.0 ä¹å¤ï¼å¼åè
è¿å¯ä»¥å®å¶å¹¶æ¨ªåæ©å±èªå·±çæèªå·±å欢ç JS
Frameworkãå®æ´ä¸å¥ JS Framework çå®å¶åæ©å±éè¦ä»¥ä¸å
个æ¥éª¤ï¼ é¦å
ä½ è¦æä¸å¥å®æ´ç JS Frameworkã äºè§£ We">
-<meta property="og:updated_time" content="2017-04-28T02:36:21.000Z">
-<meta name="twitter:card" content="summary">
-<meta name="twitter:title" content="æå± JS framework">
-<meta name="twitter:description" content="å®å¶èªå·±ç JS
Frameworkè¿é¨åæ©å±è½åè¿å¨è®¨è®ºå°è¯ä¸ï¼å¯è½éæ¶ä¼æè°æ´ï¼è¯·çæã
Weex å¸æè½å¤å°éå°½å¯è½å¤çå¼åè
ç使ç¨ä¹ æ¯ï¼æ以é¤äº
Weex å®æ¹æ¯æç Vue 2.0 ä¹å¤ï¼å¼åè
è¿å¯ä»¥å®å¶å¹¶æ¨ªåæ©å±èªå·±çæèªå·±å欢ç JS
Frameworkãå®æ´ä¸å¥ JS Framework çå®å¶åæ©å±éè¦ä»¥ä¸å
个æ¥éª¤ï¼ é¦å
ä½ è¦æä¸å¥å®æ´ç JS Frameworkã äºè§£ We">
-
- <link rel="alternate" href="/atom.xml" title="Weex"
type="application/atom+xml">
-
-
- <link rel="icon"
href="//gw.alicdn.com/tps/TB1XNqxPXXXXXcSXVXXXXXXXXXX-64-63.png">
-
-
- <link href="//fonts.googleapis.com/css?family=Source+Code+Pro"
rel="stylesheet" type="text/css">
-
- <link rel="stylesheet" href="/css/style.css">
- <link rel="stylesheet" href="/css/swiper.min.css">
-</head>
-
-<body id="references" class="lang-cn">
-
- <script>
- window.PAGE_TYPE = "references";
- window.ROOT = "/"
- </script>
- <header id="header">
- <div class="navbar">
- <a id="logo" href="/cn/">
- <img src="//img.alicdn.com/tps/TB1zBLaPXXXXXXeXXXXXXXXXXXX-121-59.svg" />
- </a>
- <div class="main-nav">
- <ul class="links">
- <li><a href="/cn/guide">æç¨</a></li>
- <li><a href="/cn/references">æå</a></li>
- <li class="dropdown">
- <a href="javascript:;">åè</a>
- <ul class="dropdown-menu subnav">
- <li>
- <a href="/cn/faq.html">FAQ</a>
- </li>
- <li>
- <a href="/cn/releasenote.html">çæ¬è¯´æ</a>
- </li>
- </ul>
- </li>
- <li class="dropdown">
- <a href="javascript:;">å·¥å
·åæå¡</a>
- <ul class="dropdown-menu subnav">
- <li>
- <a href="/cn/playground.html">Playground</a>
- </li>
- <li>
- <a href="/cn/guide/tools/toolkit.html">Weex-toolkit</a>
- </li>
- <li>
- <a href="http://dotwe.org" target="_blank">Code Snippets</a>
- </li>
- <li>
- <a href="https://market.dotwe.org" target="_blank">Market</a>
- </li>
- </ul>
- </li>
- </ul>
- <ul class="info">
- <li><a href="https://github.com/apache/incubator-weex/"
target="_blank"><span class="btn-github iconfont icon-github"></span></a></li>
- </ul>
- <ul class="tools">
- <li>
- <div class="search">
- <form id="search-form" class="search-form"> <!-- æç´¢æ¡ç¸å
³ -->
- <input type="text" id="search-input-header" name="q" results="0"
class="form-control search-input" autocomplete="off" autocorrect="off"/>
- <span class="iconfont icon-search"></span>
- </form>
- <div class="results-panel">
- </div>
-</div>
- </li>
- <li>
- <div class="dropdown select-lang">
- <a href="javascript:;" class="dropdown-toggle">
- Language
- <span class="caret"></span>
- </a>
- <ul class="dropdown-menu pick-lang">
- <li>
- <a href="/references/advanced/extend-jsfm.html"
data-lang="en">English</a>
- </li>
- <li>
- <a href="/cn/references/advanced/extend-jsfm.html"
data-lang="zh-cn">ä¸æ</a>
- </li>
- </ul>
- </div>
- </li>
- <!--<li></li>-->
- </ul>
- </div>
- </div>
- <div id="mobile-nav">
- <a id="logo" href="/cn/">
- <img src="//img.alicdn.com/tps/TB1zBLaPXXXXXXeXXXXXXXXXXXX-121-59.svg" />
- </a>
- <a class="btn-menu"><span class="iconfont icon-nav"></span></a>
- </div>
-</header>
-
- <div id="sidebar" class="">
- <div class="sidebar-menu">
-
- <div class="search">
- <form id="search-form" class="search-form"> <!-- æç´¢æ¡ç¸å
³ -->
- <input type="text" id="search-input-sidebar" name="q" results="0"
class="form-control search-input" autocomplete="off" autocorrect="off"/>
- <span class="iconfont icon-search"></span>
- </form>
- <div class="results-panel">
- </div>
-</div>
-
-
-<div class="doc-nav-version">
- <select class="versionBtn" stype="/cn/references">
-
- <option value="2v" selected>v2.x</option>
- <option value="1v">v1.x</option>
-
- </select>
-</div>
-<div class="summary">
- <h2 class="part-title">
-
- æå
-
- </h2>
- <ul class="doc-summary">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/index.html"
class="sidebar-link ">éç¨ç¹æ§</a></h3>
-
- <ul class="chapter">
-
- <li>
- <a href="/cn/references/ios-apis.html" class="sidebar-link
">iOS APIs</a>
- </li>
-
- <li>
- <a href="/cn/references/android-apis.html" class="sidebar-link
">Android APIs</a>
- </li>
-
- <li>
- <a href="/cn/references/html5-apis.html" class="sidebar-link
">HTML5 APIs</a>
- </li>
-
- <li>
- <a href="/cn/references/jsfm-apis.html" class="sidebar-link
">JS Framework APIs</a>
- </li>
-
- <li>
- <a href="/cn/references/common-style.html" class="sidebar-link
">éç¨æ ·å¼</a>
- </li>
-
- <li>
- <a href="/cn/references/text-style.html" class="sidebar-link
">ææ¬æ ·å¼</a>
- </li>
-
- <li>
- <a href="/cn/references/color-names.html" class="sidebar-link
">é¢è²å称å表</a>
- </li>
-
- <li>
- <a href="/cn/references/gesture.html" class="sidebar-link
">æå¿</a>
- </li>
-
- <li>
- <a href="/cn/references/path.html" class="sidebar-link ">Path
(è±)</a>
- </li>
-
- </ul>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a
href="/cn/references/components/index.html" class="sidebar-link ">å
建ç»ä»¶</a></h3>
-
- <ul class="chapter">
-
- <li>
- <a href="/cn/references/components/a.html" class="sidebar-link
"><a></a>
- </li>
-
- <li>
- <a href="/cn/references/components/indicator.html"
class="sidebar-link "><indicator></a>
- </li>
-
- <li>
- <a href="/cn/references/components/slider.html"
class="sidebar-link "><slider></a>
- </li>
-
- <li>
- <a href="/cn/references/components/switch.html"
class="sidebar-link "><switch></a>
- </li>
-
- <li>
- <a href="/cn/references/components/text.html"
class="sidebar-link "><text></a>
- </li>
-
- <li>
- <a href="/cn/references/components/textarea.html"
class="sidebar-link "><textarea></a>
- </li>
-
- <li>
- <a href="/cn/references/components/video.html"
class="sidebar-link "><video></a>
- </li>
-
- <li>
- <a href="/cn/references/components/web.html"
class="sidebar-link "><web></a>
- </li>
-
- <li>
- <a href="/cn/references/components/div.html"
class="sidebar-link "><div></a>
- </li>
-
- <li>
- <a href="/cn/references/components/image.html"
class="sidebar-link "><image></a>
- </li>
-
- <li>
- <a href="/cn/references/components/list.html"
class="sidebar-link "><list></a>
- </li>
-
- <li>
- <a href="/cn/references/components/input.html"
class="sidebar-link "><input></a>
- </li>
-
- <li>
- <a href="/cn/references/components/waterfall.html"
class="sidebar-link "><waterfall></a>
- </li>
-
- <li>
- <a href="/cn/references/components/cell.html"
class="sidebar-link "><cell></a>
- </li>
-
- <li>
- <a href="/cn/references/components/loading.html"
class="sidebar-link "><loading></a>
- </li>
-
- <li>
- <a href="/cn/references/components/refresh.html"
class="sidebar-link "><refresh></a>
- </li>
-
- <li>
- <a href="/cn/references/components/scroller.html"
class="sidebar-link "><scroller></a>
- </li>
-
- </ul>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/modules/index.html"
class="sidebar-link ">å
建模å</a></h3>
-
- <ul class="chapter">
-
- <li>
- <a href="/cn/references/modules/animation.html"
class="sidebar-link ">animation</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/websocket.html"
class="sidebar-link ">WebSocket</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/picker.html"
class="sidebar-link ">picker</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/clipboard.html"
class="sidebar-link ">clipboard</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/dom.html" class="sidebar-link
">dom</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/modal.html"
class="sidebar-link ">modal</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/navigator.html"
class="sidebar-link ">navigator</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/storage.html"
class="sidebar-link ">storage</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/stream.html"
class="sidebar-link ">stream</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/webview.html"
class="sidebar-link ">webview</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/globalevent.html"
class="sidebar-link ">globalEvent</a>
- </li>
-
- </ul>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/unit.html"
class="sidebar-link ">CSS åä½</a></h3>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/common-event.html"
class="sidebar-link ">éç¨äºä»¶</a></h3>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/native-dom-api.html"
class="sidebar-link ">Native DOM APIs</a></h3>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/weex-variable.html"
class="sidebar-link ">Weex å®ä¾åé</a></h3>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/web-standards.html"
class="sidebar-link ">Web æ å</a></h3>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a
href="/cn/references/js-service/index.html" class="sidebar-link ">JS
Service</a></h3>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/vue/index.html"
class="sidebar-link ">Vue</a></h3>
-
- <ul class="chapter">
-
- <li>
- <a href="/cn/references/vue/difference-with-web.html"
class="sidebar-link ">Vue 2.x å¨ Weex å Web ä¸çå·®å¼</a>
- </li>
-
- <li>
- <a href="/cn/references/vue/difference-of-vuex.html"
class="sidebar-link ">ä½¿ç¨ Vuex å vue-router</a>
- </li>
-
- </ul>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/advanced/index.html"
class="sidebar-link ">é«é¶ç¥è¯</a></h3>
-
- <ul class="chapter">
-
- <li>
- <a href="/cn/references/advanced/extend-to-ios.html"
class="sidebar-link ">iOS æ©å±</a>
- </li>
-
- <li>
- <a href="/cn/references/advanced/extend-to-android.html"
class="sidebar-link ">Android æ©å±</a>
- </li>
-
- <li>
- <a href="/cn/references/advanced/extend-to-html5.html"
class="sidebar-link ">HTML5 æ©å±</a>
- </li>
-
- <li>
- <a href="/cn/references/advanced/extend-jsfm.html"
class="sidebar-link current ">æå± JS framework</a>
- </li>
-
- <li>
- <a
href="/cn/references/advanced/integrate-devtool-to-android.html"
class="sidebar-link ">éæ Devtools å° Android</a>
- </li>
-
- <li>
- <a
href="/cn/references/advanced/integrate-devtool-to-ios.html"
class="sidebar-link ">éæ Devtools å° iOS</a>
- </li>
-
- </ul>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a
href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å
Web å¹³å°çå·®å¼</a></h3>
-
- <ul class="chapter">
-
- <li>
- <a href="/cn/references/migration/index.html"
class="sidebar-link ">è¿ç§»</a>
- </li>
-
- <li>
- <a href="/cn/references/migration/migration-from-weex.html"
class="sidebar-link ">å¦ä½å°åæ Weex 项ç®æ¹é æ Vue çæ¬</a>
- </li>
-
- <li>
- <a href="/cn/references/migration/difference.html"
class="sidebar-link ">Weex å Vue 2.x çè¯æ³å·®å¼</a>
- </li>
-
- </ul>
-
- </li>
-
-
- </ul>
-</div>
-
- <a class="btn-close-sidebar iconfont icon-close"></a>
- </div>
-</div>
-
- <div class="article-wrapper page-layout">
- <div class="doc-nav">
-
-
-
-<div class="doc-nav-version">
- <select class="versionBtn" stype="/cn/references">
-
- <option value="2v" selected>v2.x</option>
- <option value="1v">v1.x</option>
-
- </select>
-</div>
-<div class="summary">
- <h2 class="part-title">
-
- æå
-
- </h2>
- <ul class="doc-summary">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/index.html"
class="sidebar-link ">éç¨ç¹æ§</a></h3>
-
- <ul class="chapter">
-
- <li>
- <a href="/cn/references/ios-apis.html" class="sidebar-link
">iOS APIs</a>
- </li>
-
- <li>
- <a href="/cn/references/android-apis.html" class="sidebar-link
">Android APIs</a>
- </li>
-
- <li>
- <a href="/cn/references/html5-apis.html" class="sidebar-link
">HTML5 APIs</a>
- </li>
-
- <li>
- <a href="/cn/references/jsfm-apis.html" class="sidebar-link
">JS Framework APIs</a>
- </li>
-
- <li>
- <a href="/cn/references/common-style.html" class="sidebar-link
">éç¨æ ·å¼</a>
- </li>
-
- <li>
- <a href="/cn/references/text-style.html" class="sidebar-link
">ææ¬æ ·å¼</a>
- </li>
-
- <li>
- <a href="/cn/references/color-names.html" class="sidebar-link
">é¢è²å称å表</a>
- </li>
-
- <li>
- <a href="/cn/references/gesture.html" class="sidebar-link
">æå¿</a>
- </li>
-
- <li>
- <a href="/cn/references/path.html" class="sidebar-link ">Path
(è±)</a>
- </li>
-
- </ul>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a
href="/cn/references/components/index.html" class="sidebar-link ">å
建ç»ä»¶</a></h3>
-
- <ul class="chapter">
-
- <li>
- <a href="/cn/references/components/a.html" class="sidebar-link
"><a></a>
- </li>
-
- <li>
- <a href="/cn/references/components/indicator.html"
class="sidebar-link "><indicator></a>
- </li>
-
- <li>
- <a href="/cn/references/components/slider.html"
class="sidebar-link "><slider></a>
- </li>
-
- <li>
- <a href="/cn/references/components/switch.html"
class="sidebar-link "><switch></a>
- </li>
-
- <li>
- <a href="/cn/references/components/text.html"
class="sidebar-link "><text></a>
- </li>
-
- <li>
- <a href="/cn/references/components/textarea.html"
class="sidebar-link "><textarea></a>
- </li>
-
- <li>
- <a href="/cn/references/components/video.html"
class="sidebar-link "><video></a>
- </li>
-
- <li>
- <a href="/cn/references/components/web.html"
class="sidebar-link "><web></a>
- </li>
-
- <li>
- <a href="/cn/references/components/div.html"
class="sidebar-link "><div></a>
- </li>
-
- <li>
- <a href="/cn/references/components/image.html"
class="sidebar-link "><image></a>
- </li>
-
- <li>
- <a href="/cn/references/components/list.html"
class="sidebar-link "><list></a>
- </li>
-
- <li>
- <a href="/cn/references/components/input.html"
class="sidebar-link "><input></a>
- </li>
-
- <li>
- <a href="/cn/references/components/waterfall.html"
class="sidebar-link "><waterfall></a>
- </li>
-
- <li>
- <a href="/cn/references/components/cell.html"
class="sidebar-link "><cell></a>
- </li>
-
- <li>
- <a href="/cn/references/components/loading.html"
class="sidebar-link "><loading></a>
- </li>
-
- <li>
- <a href="/cn/references/components/refresh.html"
class="sidebar-link "><refresh></a>
- </li>
-
- <li>
- <a href="/cn/references/components/scroller.html"
class="sidebar-link "><scroller></a>
- </li>
-
- </ul>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/modules/index.html"
class="sidebar-link ">å
建模å</a></h3>
-
- <ul class="chapter">
-
- <li>
- <a href="/cn/references/modules/animation.html"
class="sidebar-link ">animation</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/websocket.html"
class="sidebar-link ">WebSocket</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/picker.html"
class="sidebar-link ">picker</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/clipboard.html"
class="sidebar-link ">clipboard</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/dom.html" class="sidebar-link
">dom</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/modal.html"
class="sidebar-link ">modal</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/navigator.html"
class="sidebar-link ">navigator</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/storage.html"
class="sidebar-link ">storage</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/stream.html"
class="sidebar-link ">stream</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/webview.html"
class="sidebar-link ">webview</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/globalevent.html"
class="sidebar-link ">globalEvent</a>
- </li>
-
- </ul>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/unit.html"
class="sidebar-link ">CSS åä½</a></h3>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/common-event.html"
class="sidebar-link ">éç¨äºä»¶</a></h3>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/native-dom-api.html"
class="sidebar-link ">Native DOM APIs</a></h3>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/weex-variable.html"
class="sidebar-link ">Weex å®ä¾åé</a></h3>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/web-standards.html"
class="sidebar-link ">Web æ å</a></h3>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a
href="/cn/references/js-service/index.html" class="sidebar-link ">JS
Service</a></h3>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/vue/index.html"
class="sidebar-link ">Vue</a></h3>
-
- <ul class="chapter">
-
- <li>
- <a href="/cn/references/vue/difference-with-web.html"
class="sidebar-link ">Vue 2.x å¨ Weex å Web ä¸çå·®å¼</a>
- </li>
-
- <li>
- <a href="/cn/references/vue/difference-of-vuex.html"
class="sidebar-link ">ä½¿ç¨ Vuex å vue-router</a>
- </li>
-
- </ul>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/advanced/index.html"
class="sidebar-link ">é«é¶ç¥è¯</a></h3>
-
- <ul class="chapter">
-
- <li>
- <a href="/cn/references/advanced/extend-to-ios.html"
class="sidebar-link ">iOS æ©å±</a>
- </li>
-
- <li>
- <a href="/cn/references/advanced/extend-to-android.html"
class="sidebar-link ">Android æ©å±</a>
- </li>
-
- <li>
- <a href="/cn/references/advanced/extend-to-html5.html"
class="sidebar-link ">HTML5 æ©å±</a>
- </li>
-
- <li>
- <a href="/cn/references/advanced/extend-jsfm.html"
class="sidebar-link current ">æå± JS framework</a>
- </li>
-
- <li>
- <a
href="/cn/references/advanced/integrate-devtool-to-android.html"
class="sidebar-link ">éæ Devtools å° Android</a>
- </li>
-
- <li>
- <a
href="/cn/references/advanced/integrate-devtool-to-ios.html"
class="sidebar-link ">éæ Devtools å° iOS</a>
- </li>
-
- </ul>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a
href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å
Web å¹³å°çå·®å¼</a></h3>
-
- <ul class="chapter">
-
- <li>
- <a href="/cn/references/migration/index.html"
class="sidebar-link ">è¿ç§»</a>
- </li>
-
- <li>
- <a href="/cn/references/migration/migration-from-weex.html"
class="sidebar-link ">å¦ä½å°åæ Weex 项ç®æ¹é æ Vue çæ¬</a>
- </li>
-
- <li>
- <a href="/cn/references/migration/difference.html"
class="sidebar-link ">Weex å Vue 2.x çè¯æ³å·®å¼</a>
- </li>
-
- </ul>
-
- </li>
-
-
- </ul>
-</div>
- </div>
-
-
-<article class="article article-type-references">
- <div class="article-entry" itemprop="articleBody">
- <header class="article-header">
-
-
- <h1 class="article-title" itemprop="name">
- æå± JS framework
- </h1>
-
-
- <time class="article-date" datetime="2017-04-28T02:36:21.000Z">Updated time:
28/04/2017</time>
-</header>
- <h1 id="å®å¶èªå·±ç-JS-Framework"><a
href="#å®å¶èªå·±ç-JS-Framework" class="headerlink" title="å®å¶èªå·±ç
JS Framework"></a>å®å¶èªå·±ç JS
Framework</h1><p><em>è¿é¨åæ©å±è½åè¿å¨è®¨è®ºå°è¯ä¸ï¼å¯è½éæ¶ä¼æè°æ´ï¼è¯·çæã</em></p>
-<p>Weex å¸æè½å¤å°éå°½å¯è½å¤çå¼åè
ç使ç¨ä¹
æ¯ï¼æ以é¤äº Weex å®æ¹æ¯æç Vue 2.0 ä¹å¤ï¼å¼åè
è¿å¯ä»¥å®å¶å¹¶æ¨ªåæ©å±èªå·±çæèªå·±å欢ç JS
Frameworkãå®æ´ä¸å¥ JS Framework çå®å¶åæ©å±éè¦ä»¥ä¸å
个æ¥éª¤ï¼</p>
-<ol>
-<li>é¦å
ä½ è¦æä¸å¥å®æ´ç JS Frameworkã</li>
-<li>äºè§£ Weex ç JS å¼æçç¹æ§æ¯ææ
åµã</li>
-<li>éé
Weex ç native DOM APIsã</li>
-<li>éé
Weex çåå§åå
¥å£åå¤å®ä¾ç®¡çæºå¶ã</li>
-<li>å¨ Weex JS runtime ç framework é
ç½®ä¸å å
¥èªå·±ç JS Framework
ç¶åæå
ã</li>
-<li>åºäºè¯¥ JS Framework æ°å JS bundleï¼å¹¶å å
¥ç¹å®çåç¼æ³¨éï¼ä»¥ä¾¿ Weex JS runtime è½å¤æ£ç¡®è¯å«ã</li>
-</ol>
-<h2 id="Weex-JS-å¼æçç¹æ§æ¯ææ
åµ"><a
href="#Weex-JS-å¼æçç¹æ§æ¯ææ
åµ" class="headerlink" title="Weex JS
å¼æçç¹æ§æ¯ææ
åµ"></a>Weex JS å¼æçç¹æ§æ¯ææ
åµ</h2><ul>
-<li>å¨ iOS ä¸ï¼Weex 使ç¨çæ¯ç³»ç»èªå¸¦ç JavaScriptCoreï¼æ以 ES
æ¯ææ
åµåå³äºæä½ç³»ç»ççæ¬ãç®åä¿å®å¤æï¼ES5
çç¹æ§å¸é¢ä¸ä¸»æµç iOS 设å¤é½æ¯å¯ä»¥å®ç¾æ¯æçï¼ä½æ¯ ES6+
çç¹æ§åå¨ä¸å®çç¢çåã</li>
-<li>å¨ Android ä¸ï¼Weex 使ç¨çæ¯ UC æä¾ç v8 å
æ
¸ï¼åºäºä½ç§¯ãæ§è½å稳å®æ§çèèï¼æ们使ç¨ç并ä¸æ¯ææ°çæ¬ç
v8 å
æ ¸ï¼åæ ·çä¿å®å¤æï¼ES5 ç¹æ§è½å¤å
¨é¨æ¯æï¼å
æ¬ä¸¥æ
¼æ¨¡å¼ã<code>Object.freeze</code> çã</li>
-<li>Weex JS å¼æä¸æ¯æ HTML DOM APIs å HTML5 JS APIsï¼è¿å
æ¬
<code>document</code>, <code>setTimeout</code> çã</li>
-<li>å¨æ¤åºç¡ä¸ï¼æ们å å
¥äº <code>Promise</code> ç
polyfillï¼ä»¥å <code>console</code> ç polyfillã</li>
-<li>é¢å¤çï¼ä¸ºäºå°½å¯è½çç¡®ä¿ JS å¼æçé¿æå
å管çï¼æ们对ä¸ä¸ªéç¨çå
¨å±å¯¹è±¡è¿è¡äº
<code>Object.freeze()</code> å»ç»æä½ï¼è¿å
æ¬ï¼<ul>
-<li><code>Object</code></li>
-<li><code>Object.prototype</code></li>
-<li><code>Array</code></li>
-<li><code>Array.prototype</code></li>
-<li><code>String.prototype</code></li>
-<li><code>Number.prototype</code></li>
-<li><code>Boolean.prototype</code></li>
-<li><code>Error.prototype</code></li>
-<li><code>Date.prototype</code></li>
-<li><code>RegExp.prototype</code></li>
-</ul>
-</li>
-</ul>
-<h2 id="éé
-Weex-çåå§åå
¥å£åå¤å®ä¾ç®¡çæºå¶"><a href="#éé
-Weex-çåå§åå
¥å£åå¤å®ä¾ç®¡çæºå¶" class="headerlink"
title="éé
Weex çåå§åå
¥å£åå¤å®ä¾ç®¡çæºå¶"></a>éé
Weex
çåå§åå
¥å£åå¤å®ä¾ç®¡çæºå¶</h2><p>å¼åè
æä¾ç JS
Framework æç»éè¦å
è£
æä¸ä¸ª CommonJS å
ï¼å¹¶ä¸è¿ä¸ªå
éè¦å¯¹å¤æ´é²ä»¥ä¸æ¹æ³ï¼</p>
-<h3 id="æ¡æ¶åå§å"><a href="#æ¡æ¶åå§å" class="headerlink"
title="æ¡æ¶åå§å"></a>æ¡æ¶åå§å</h3><ul>
-<li><code>init(config)</code><ul>
-<li><code>config</code><ul>
-<li><code>Document</code></li>
-<li><code>Element</code></li>
-<li><code>Comment</code></li>
-<li><code>TaskSender</code></li>
-<li><code>CallbackManager</code></li>
-</ul>
-</li>
-</ul>
-</li>
-</ul>
-<p>该æ¹æ³ä¼æ Weex æä¾ç Native DOM ç±»å两个è¾
å©ç±»æ¾å°
<code>config</code> åæ°ä¸ï¼å¹¶å
许æ¡æ¶æ¬èº«å®æåå§åã</p>
-<p><em>å°æ示ï¼åæ¶ï¼æ¡æ¶ä½è
ä¹è½å¤éè¿å¨æ¡æ¶åå§åæ¶ä¼
å
¥ä¸åç <code>config</code>
æ¥è¿è¡æ¡æ¶çæµè¯æç¯å¢æ¨¡æã</em></p>
-<h4 id="åæ°æ ¼å¼ä»ç»"><a href="#åæ°æ ¼å¼ä»ç»" class="headerlink"
title="åæ°æ ¼å¼ä»ç»"></a>åæ°æ ¼å¼ä»ç»</h4><ul>
-<li><code>TaskSender</code>: wipâ¦</li>
-<li><code>CallbackManager</code>: wipâ¦</li>
-</ul>
-<h3 id="注åå¯ç¨ç-native-ç»ä»¶å模å"><a
href="#注åå¯ç¨ç-native-ç»ä»¶å模å" class="headerlink"
title="注åå¯ç¨ç native ç»ä»¶å模å"></a>注åå¯ç¨ç native
ç»ä»¶å模å</h3><ul>
-<li><code>registerComponents(components)</code></li>
-<li><code>registerModules(modules)</code></li>
-</ul>
-<p>è¿ä¸¤ä¸ªæ¹æ³ä¼å¨æ¡æ¶åå§åä¹åç«å»è°ç¨ï¼è¿æ
·æ¡æ¶å°±è½å¤ç¥éå½åç客æ·ç«¯æ¯æåªäºç»ä»¶å模åï¼å¨ä¸äºç¹æ®é»è¾æå¿
è¦çæ
åµä¸ï¼ææºä¼ä¸ºæ¡æ¶æ¬èº«æä¾åèä¿¡æ¯ã</p>
-<h4 id="åæ°æ ¼å¼ä»ç»-1"><a href="#åæ°æ ¼å¼ä»ç»-1"
class="headerlink" title="åæ°æ ¼å¼ä»ç»"></a>åæ°æ ¼å¼ä»ç»</h4><ul>
-<li><code>components: Array</code>: æè¿°ç»ä»¶çæ°ç»ï¼æ¯ä¸é¡¹å
æ¬ï¼<ul>
-<li><code>type: string</code>: ç»ä»¶å称ï¼æ¯å¦ <code>div</code>ã</li>
-<li><code>methods: string[]</code>:
å¯é项ï¼è¯¥ç»ä»¶æ¯æçæ¹æ³å称å表ï¼è¿äºæ¹æ³å¯ä»¥éµå¾ª
Weex ç native DOM APIs çç»ä»¶æ¹æ³è°ç¨æ¹å¼ã</li>
-</ul>
-</li>
-<li><code>modules: Object</code>:
æè¿°ä¸ç³»å模åçæ£å表ï¼æ¯ä¸é¡¹ç key
æ¯æ¨¡ååï¼æ¯ä¸é¡¹çå¼æ¯ä¸ä¸ªæ°ç»ï¼æ°ç»éçæ¯ä¸é¡¹æè¿°äºä¸ä¸ªè¯¥æ¨¡åä¸çä¸ä¸ªæ¹æ³ï¼è¯¥æ¹æ³çä¿¡æ¯å
æ¬ï¼<ul>
-<li><code>name: string</code>: æ¹æ³å</li>
-<li><code>args: string[]</code>: åæ°ä¸ªæ°åç±»åæè¿°</li>
-</ul>
-</li>
-</ul>
-<p>ä¾å¦ï¼</p>
-<figure class="highlight js"><table><tr><td class="code"><pre><div
class="line">registerComponents([</div><div class="line"> { <span
class="attr">type</span>: <span class="string">'web'</span>, <span
class="attr">methods</span>: [<span class="string">'goBack'</span>, <span
class="string">'goForward'</span>, <span
class="string">'refresh'</span>]}</div><div class="line">])</div><div
class="line"></div><div class="line">registerModules({</div><div
class="line"> <span class="attr">event</span>: [</div><div class="line">
{<span class="attr">name</span>: <span class="string">'openURL'</span>,
<span class="attr">args</span>: [<span
class="string">'string'</span>]}</div><div class="line"> ]</div><div
class="line">})</div></pre></td></tr></table></figure>
-<h3 id="å¤å®ä¾çå½å¨æ管ç"><a href="#å¤å®ä¾çå½å¨æ管ç"
class="headerlink"
title="å¤å®ä¾çå½å¨æ管ç"></a>å¤å®ä¾çå½å¨æ管ç</h3><ul>
-<li><code>createInstance(instanceId, code, config, data, env)</code></li>
-<li><code>refreshInstance(instanceId, data)</code></li>
-<li><code>destroyInstance(instanceId)</code></li>
-</ul>
-<p>æ¯ä¸ª Weex 页é¢é½æ被å建ã被éæ¯ä¸¤ä¸ªå¿
ç»é¶æ®µï¼åæ¶å¨
Weex 页é¢è¿è¡è¿ç¨ä¸ï¼native ææºä¼ä¸»å¨å Weex
页é¢åéæ¶æ¯ï¼ä¸åçæ¡æ¶å¯ä»¥æ ¹æ®èªå·±æ¡æ¶ç设计对è¿æ
·çæ¶æ¯æèªå·±çç解å设计å®ç°ã</p>
-<h4 id="åæ°æ ¼å¼ä»ç»-2"><a href="#åæ°æ ¼å¼ä»ç»-2"
class="headerlink" title="åæ°æ ¼å¼ä»ç»"></a>åæ°æ ¼å¼ä»ç»</h4><ul>
-<li><code>instanceId: string</code>: 该 Weex 页é¢çå¯ä¸ idï¼ç± native
产çã</li>
-<li><code>code: string</code>: 该 Weex 页é¢ç JS bundle ç代ç ï¼éè¿
native ä¼ å
¥ã</li>
-<li><code>config: Object?</code>: 该 Weex 页é¢çé
置信æ¯ï¼æ¯å¦ä»£è¡¨è¯¥ bundle å°åç <code>bundleUrl</code>ï¼ç±
native é
置产çï¼å JS bundle æ¬èº«çå
容æ å
³ã</li>
-<li><code>data: Object?</code>: Native ææºä¼å¨å建ä¸ä¸ª Weex
页é¢çæ¶åï¼ä¼ å
¥ä¸ä»½å¤é¨æ°æ®ï¼JS
æ¡æ¶ä¹ææºä¼æ¥æ¤æºä¼ä¸ºç¸åç JS bundle é
åä¸åç
<code>data</code> çæä¸åç页é¢å
容ã</li>
-<li><code>env: Object?</code>: å½å Weex 页é¢çç¸å
³ç¯å¢ä¿¡æ¯ï¼åå段çå«ä¹ï¼<ul>
-<li><code>info: Object</code>: æ¡æ¶ info ä¿¡æ¯ï¼è¯¦è§ä¹åç âJS
Bundle æ ¼å¼è¦æ±âã</li>
-<li><code>config: Object</code>: çå该æ¹æ³ç第ä¸ä¸ªåæ°
<code>config</code>ã</li>
-<li><code>callbacks: CallbackManager</code>: 该 Weex 页é¢å¯ä¸ç
<code>CallbackManager</code> å®ä¾ã</li>
-<li><code>created: number</code>: 该 Weex
页é¢çå建æ¶é´æ¯«ç§æ°ã</li>
-<li><code>framework: string</code>: 该 Weex
页é¢åºäºçæ¡æ¶åï¼çåäº <code>info.framework</code>ã</li>
-</ul>
-</li>
-</ul>
-<h3 id="Native-éä¿¡"><a href="#Native-éä¿¡" class="headerlink"
title="Native éä¿¡"></a>Native éä¿¡</h3><ul>
-<li><code>receiveTasks(instanceId, tasks)</code></li>
-</ul>
-<p>Native é¤äºéè¿ <code>refreshInstance</code> æ¹æ³å JS
æ¡æ¶å±åéæ¶æ¯ä¹å¤ï¼æ´å¤çä¼éè¿ <code>receiveTasks</code>
åéç¨æ·äºä»¶ææ¹æ³åè°ç» JS æ¡æ¶ã</p>
-<p>æ¯å¦ç¨æ·ç¹å»äºä¸ä¸ªæé®ï¼native å°±ä¼åéä¸ä¸ª
<code>fireEvent</code> ç±»åçä»»å¡ç» JS æ¡æ¶ï¼ç¶å JS
æ¡æ¶åå¤çç¸åºçäºä»¶é»è¾ãè¿é¨åå·¥ä½æºå¶å native DOM
æ¥å£ä¸ç <code>addEvent</code> ç设计æå
³ã</p>
-<p>åæ¯å¦ç¨æ·åèµ·äºä¸ä¸ª <code>fetch</code>
ç½ç»è¯·æ±ï¼å½è¯·æ±å¨ native 端å®ææ¶ï¼ä¼ä»¥ä¸ä¸ª
<code>callback</code> ç±»åçä»»å¡åç» JS æ¡æ¶ãç±äº native æ æ³ä¼
é JavaScript ä¸ç functionï¼æ以å®é
ä¸ç¥ä¼åéä¸ä¸ª
<code>callbackId</code> ç» JS
æ¡æ¶ãè¿é¨åå·¥ä½æºå¶åä¹ååºç°è¿ç
<code>CallbackManager</code> ç设计æå
³ã</p>
-<h3 id="è¾
å©æ¹æ³"><a href="#è¾
å©æ¹æ³" class="headerlink" title="è¾
å©æ¹æ³"></a>è¾
å©æ¹æ³</h3><ul>
-<li><code>getRoot(instanceId): JSON</code></li>
-</ul>
-<p>该æ¹æ³å¯ä»¥è¿åæ档主ä½ç»ç¹çå®æ´ JSON æè¿°ï¼å¼åè
å¯ä»¥ä»¥æ¤æ¥çå°å®æ´ç native DOM æ ï¼å
·ä½è¿åå¼çæ ¼å¼å
native DOM æ¥å£ä¸ç <code>toJSON()</code> æ¹æ³è¿åå¼æ
¼å¼ä¸è´ãæ¤åè½å¤ç¨ä½å¼åè
å·¥å
·æ©å±ã</p>
-<h2 id="å¨-WeexSDK-ä¸é
ç½®-JS-Framework"><a href="#å¨-WeexSDK-ä¸é
ç½®-JS-Framework" class="headerlink" title="å¨ WeexSDK ä¸é
ç½® JS
Framework"></a>å¨ WeexSDK ä¸é
ç½® JS Framework</h2><h3 id="åå¤å¥½ä½
ç-JS-Framework-代ç "><a href="#åå¤å¥½ä½ ç-JS-Framework-代ç "
class="headerlink" title="åå¤å¥½ä½ ç JS Framework 代ç "></a>åå¤å¥½ä½
ç JS Framework 代ç </h3><figure class="highlight javascript"><table><tr><td
class="code"><pre><div class="line"><span class="comment">//
your-own-js-framework.js</span></div><div class="line"></div><div
class="line"><span class="keyword">export</span> <span class="function"><span
class="keyword">function</span> <span class="title">init</span> (<span
class="params">config</span>) </span>{ ... }</div><div
class="line"></div><div class="line"><span class="keyword">export</span> <span
class="function"><span class="keyword">function</span> <span
class="title">registerComponents</span> (<span class="params">componen
ts</span>) </span>{ ... }</div><div class="line"><span
class="keyword">export</span> <span class="function"><span
class="keyword">function</span> <span class="title">registerModules</span>
(<span class="params">modules</span>) </span>{ ... }</div><div
class="line"></div><div class="line"><span class="keyword">export</span> <span
class="function"><span class="keyword">function</span> <span
class="title">createInstance</span> (<span class="params">id, code, config,
data, env</span>) </span>{ ... }</div><div class="line"><span
class="keyword">export</span> <span class="function"><span
class="keyword">function</span> <span class="title">destroyInstance</span>
(<span class="params">id</span>) </span>{ ... }</div><div
class="line"><span class="keyword">export</span> <span class="function"><span
class="keyword">function</span> <span class="title">refreshInstance</span>
(<span class="params">id, data</span>) </span>{ ... }</div><div
class="l
ine"></div><div class="line"><span class="keyword">export</span> <span
class="function"><span class="keyword">function</span> <span
class="title">recieveTasks</span> (<span class="params">id, tasks</span>)
</span>{ ... }</div><div class="line"><span
class="keyword">export</span> <span class="function"><span
class="keyword">function</span> <span class="title">getRoot</span> (<span
class="params">id</span>) </span>{ ...
}</div></pre></td></tr></table></figure>
-<h3 id="注åä¸ä¸ª-JS-Framework"><a href="#注åä¸ä¸ª-JS-Framework"
class="headerlink" title="注åä¸ä¸ª JS Framework"></a>注åä¸ä¸ª JS
Framework</h3><figure class="highlight javascript"><table><tr><td
class="code"><pre><div class="line"><span class="keyword">import</span> * <span
class="keyword">as</span> Vue <span class="keyword">from</span> <span
class="string">'...'</span></div><div class="line"><span
class="keyword">import</span> * <span class="keyword">as</span> React <span
class="keyword">from</span> <span class="string">'...'</span></div><div
class="line"><span class="keyword">import</span> * <span
class="keyword">as</span> Angular <span class="keyword">from</span> <span
class="string">'...'</span></div><div class="line"></div><div
class="line"><span class="keyword">export</span> <span
class="keyword">default</span> { Vue, React, Angular
};</div></pre></td></tr></table></figure>
-<p>ç¶åæå
JS runtimeï¼éæå° WeexSDK ä¸ã</p>
-<h3 id="JS-Bundle-æ ¼å¼è¦æ±"><a href="#JS-Bundle-æ ¼å¼è¦æ±"
class="headerlink" title="JS Bundle æ ¼å¼è¦æ±"></a>JS Bundle æ
¼å¼è¦æ±</h3><p><strong>æ¡æ¶ info</strong></p>
-<p>ä½ éè¦ä¿éåºäºè¯¥ JS Framework ç JS Bundle
å¨æ件å¼å¤´å¸¦æå¦ä¸æ ¼å¼ç注éï¼æ们称å
¶ä¸ºæ¡æ¶ infoï¼</p>
-<figure class="highlight javascript"><table><tr><td class="code"><pre><div
class="line"><span class="comment">// { "framework": "Vue"
}</span></div><div class="line">...</div></pre></td></tr></table></figure>
-<p>è¿æ · Weex JS å¼æå°±ä¼è¯å«åºè¿ä¸ª JS bundle éè¦ç¨ Vue
æ¡æ¶æ¥è§£æã并ååç» Vue æ¡æ¶å¤çãåçï¼Weex
æ¯æåæ¶å¤ç§æ¡æ¶å¨ä¸ä¸ªç§»å¨åºç¨ä¸å
±å并åèªè§£æåºäºä¸åæ¡æ¶ç JS bundleã</p>
-
- </div>
-
-</article>
-</div>
-
- <footer id="footer">
- <div class="row clearfix">
- <div class="dropdown select-lang">
- <a href="javascript:;" class="dropdown-toggle">
- Language
- <span class="caret"></span>
- </a>
- <ul class="dropdown-menu pick-lang">
- <li>
- <a href="/references/advanced/extend-jsfm.html"
data-lang="en">English</a>
- </li>
- <li>
- <a href="/cn/references/advanced/extend-jsfm.html"
data-lang="zh-cn">ä¸æ</a>
- </li>
- </ul>
- </div>
- </div>
- <div class="disclaimer">
- <div><img
src="//gw.alicdn.com/tfs/TB1pTBZQFXXXXX9XXXXXXXXXXXX-794-280.png" width="200px"
alt="Apache Incubator"></div>
- <div><span class="title">Disclaimer:</span> Apache Weex is an effort
undergoing incubation at The Apache Software Foundation (ASF), sponsored by the
Apache Incubator. Incubation is required of all newly accepted projects until a
further review indicates that the infrastructure, communications, and decision
making process have stabilized in a manner consistent with other successful ASF
projects. While incubation status is not necessarily a reflection of the
completeness or stability of the code, it does indicate that the project has
yet to be fully endorsed by the ASF.</div>
- <br/>
- </div>
- <hr>
- <div class="row">
- <p> <img src="//gw.alicdn.com/tfs/TB1bg8SQFXXXXcHXXXXXXXXXXXX-85-170.png"
height="50px" alt="Apache"><span>Copyright(c) 2017 The Apache Software
Foundation. Licensed under the </span> <a
href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version
2.0</a></p>
- </div>
- <div class="row clearfix">
- <div></div>
- </div>
-</footer>
- <div style="display: none;">
- <script src="//s95.cnzz.com/z_stat.php?id=1261496509&web_id=1261496509"
language="JavaScript"></script>
-</div>
-
- <script src="/js/reqwest.js"></script>
- <script src="/js/common.js"></script>
-</body>
-</html>