weex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acton...@apache.org
Subject [50/51] [partial] incubator-weex git commit: * [example] update examples in weex playground app
Date Wed, 17 Jan 2018 11:21:02 GMT
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/43564f3b/android/playground/app/src/main/assets/guide.weex.js
----------------------------------------------------------------------
diff --git a/android/playground/app/src/main/assets/guide.weex.js b/android/playground/app/src/main/assets/guide.weex.js
new file mode 100644
index 0000000..9133156
--- /dev/null
+++ b/android/playground/app/src/main/assets/guide.weex.js
@@ -0,0 +1,4 @@
+// { "framework": "Vue" }
+"use weex:vue";
+
+!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=37)}([function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var o=n(9),r=n(29),i=n(17),a=Object.defineProperty;t.f=n(2)?Object.defineProperty:function(e,t,n){if(o(e),t=i(t,!0),o(n),r)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(10)(function(){return 7!=Object.defineProper
 ty({},"a",{get:function(){return 7}}).a})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var o=n(1),r=n(11);e.exports=n(2)?function(e,t,n){return o.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var o=n(52),r=n(14);e.exports=function(e){return o(r(e))}},function(e,t,n){var o=n(21)("wks"),r=n(12),i=n(0).Symbol,a="function"==typeof i;(e.exports=function(e){return o[e]||(o[e]=a&&i[e]||(a?i:r)("Symbol."+e))}).store=o},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var o=n(8);e.exports=function(e){if(!o(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,o=Math.random();e.expo
 rts=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+o).toString(36))}},function(e,t){var n=Math.ceil,o=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?o:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e}},function(e,t){e.exports=!0},function(e,t,n){var o=n(0),r=n(7),i=n(48),a=n(4),s="prototype",c=function(e,t,n){var l,u,p,d=e&c.F,f=e&c.G,h=e&c.S,v=e&c.P,g=e&c.B,m=e&c.W,S=f?r:r[t]||(r[t]={}),y=S[s],z=f?o:h?o[t]:(o[t]||{})[s];f&&(n=t);for(l in n)(u=!d&&z&&void 0!==z[l])&&l in S||(p=u?z[l]:n[l],S[l]=f&&"function"!=typeof z[l]?n[l]:g&&u?i(p,o):m&&z[l]==p?function(e){var t=function(t,n,o){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,o)}return e.apply(this,arguments)};return t[s]=e[s],t}(p):v&&"function"==typeof p?i(Function.call,p):p,v&&((S.virtual||(S.virtual={}))[l]=p,e&c.R&&y&&!y[l]&&a(y,l,p)))};c.F=1,c.G=2,c.S=4,c.P
 =8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){var o=n(8);e.exports=function(e,t){if(!o(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!o(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports={}},function(e,t,n){var o=n(33),r=n(22);e.exports=Object.keys||function(e){return o(e,r)}},function(e,t,n){var o=n(21)("keys"),r=n(12);e.exports=function(e){return o[e]||(o[e]=r(e))}},function(e,t,n){var o=n(0),r=o["__core-js_shared__"]||(o["__core-js_shared__"]={});e.exports=function(e){return r[e]||(r[e]={})}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var o=n(1).f,r=n(3),i=n(6)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,i)&&o(e,i,{configurable:!0,value:t})}},funct
 ion(e,t,n){t.f=n(6)},function(e,t,n){var o=n(0),r=n(7),i=n(15),a=n(24),s=n(1).f;e.exports=function(e){var t=r.Symbol||(r.Symbol=i?{}:o.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchNews=t.fetchDoodle=t.readAbout=t.saveAbout=t.fetchAbout=t.readGuide=t.saveGuide=t.fetchGuide=t.readExamples=t.saveExamples=t.fetchExamples=void 0;var o=i(n(41)),r=i(n(43));function i(e){return e&&e.__esModule?e:{default:e}}t.createLink=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];for(var o in t)"string"==typeof t[o]&&n.push(l(o)+"="+l(t[o]));if("Web"===WXEnvironment.platform)return n.unshift("page="+e+".web.js"),"/?"+n.join("&");return""+function(){var e=weex.config.bundleUrl,t=e.indexOf("your_current_IP")>=0||e.indexOf("file://assets/")>=0,n=e.indexOf("file:///")>=0&&e.indexOf("WeexDemo.app")>0;if(t)return"file://assets/";if(n)
 return e.substring(0,e.lastIndexOf("/")+1);return""}()+e+".weex.js"+(n.length?"?"+n.join("&"):"")},t.createURL=u,t.i18n=p,t.parseLanguage=f,t.setLanguage=function(e){var t=f(e);t&&s.setItem("WEEX_PLAYGROUND_LANGUAGE",t)},t.clearStorageLanguage=function(){s.removeItem("WEEX_PLAYGROUND_LANGUAGE")},t.getStorageLanguage=h,t.getSystemLanguage=v,t.getLanguage=m,t.jumpTo=function(e,t){m(function(n){s.setItem("CURRENT_DOCUMENT_URL",p(e,n)),c.push({url:u("bf0305c14b511b24a4e616f53926432b",{language:n,title:p(t,n)})})})},t.viewSource=function(e){m(function(t){c.push({url:u("f6ce29faf686eabc38b410bf4828fa5a",{hash:e,language:t})})})},t.setTitleBar=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en";if("[object Object]"!==Object.prototype.toString.apply(e))return;var n=weex.requireModule("titleBar");if(e.color||e.backgroundColor)try{n.setStyle({foregroundColor:e.color||"#FFFFFF",backgroundColor:e.backgroundColor||"#00B4FF"})}catch(e){}var o=p(e.title,t);if(o)try{n.setT
 itle(o)}catch(e){}},t.fetchData=y,t.saveData=z,t.readData=x;var a=weex.requireModule("stream"),s=weex.requireModule("storage"),c=weex.requireModule("navigator"),l="function"==typeof encodeURIComponent?encodeURIComponent:"function"==typeof encodeURI?encodeURI:function(e){return e};function u(e,t){if("Web"===WXEnvironment.platform)return"http://dotwe.org/raw/htmlVue/"+e;var n="http://dotwe.org/raw/dist/"+e+".bundle.wx",o=function(e){if(!e||"object"!==(void 0===e?"undefined":(0,r.default)(e)))return"";var t=[];for(var n in e)"string"==typeof e[n]&&t.push(l(n)+"="+l(e[n]));return t.join("&")}(t);return"TB"===WXEnvironment.appName?n+"?_wx_tpl="+n+"&"+o:"WXSample"===WXEnvironment.appName?n+"?"+o:n+"?wx_weex=true&"+o}function p(e,t){return"string"==typeof e?e:"[object Object]"===Object.prototype.toString.call(e)?e[this&&this.language||t||"en"]:void 0}var d=/(en|zh)\_?\w*/i;function f(e){var t=d.exec(e+"");return t&&t[1]?t[1]:""}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?
 arguments[1]:function(){};if("function"!==!(void 0===e||(0,r.default)(e)))try{s.getItem("WEEX_PLAYGROUND_LANGUAGE",function(n){if("success"===n.result){var o=f(n.data);o?e(o):t()}else t(n)})}catch(e){t(e)}}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};if("function"!==!(void 0===e||(0,r.default)(e)))if("web"===WXEnvironment.platform.toLowerCase()){var n=f(window.navigator.language);n?e(n):t()}else try{var o=weex.requireModule("locale")||weex.requireModule("local"),i=!1,a=f(o.getLanguage(function(n){var o=f(n);o?i||e(o):t()}));a?(i=!0,e(a)):t()}catch(e){t(e)}}var g=/.+[\?\&]{1}language=([\d\w]+)[\?\&]?.*/i;function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},t=g.exec(weex.config.bundleUrl||""),n=f(t&&t[1]);n?e(n):h(e,function(){v(e,function(){e("en")})})}var S={doodle:"WEEX_PLAYGROUND_APP_DOODLE",guide:"WEEX_PLAYGROUND_APP_GUIDE",examples:"WEEX_PLAYGROUND_APP_EXAMPLES",news:"WEEX_PLAYGROUND_APP_NEWS",about:"WE
 EX_PLAYGROUND_APP_ABOUT"};function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};try{a.fetch({url:"http://dotwe.org/query/weex-playground-app",method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded"},type:"json",body:"name="+e},function(e){e.ok&&e.data&&e.data.success?t(e.data):n(e)})}catch(e){n(e)}}function z(e,t){var n=S[e];n&&t&&"object"===(void 0===t?"undefined":(0,r.default)(t))&&(t.timestamp=Date.now(),s.setItem(n,(0,o.default)(t)))}function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},o=S[e];if(!o)return n();try{s.getItem(o,function(o){if("success"===o.result){var r=JSON.parse(o.data);if(r&&Array.isArray(r[e]))return t(r[e])}n(o)})}catch(e){n(e)}}t.fetchExamples=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return y.apply(
 void 0,["examples"].concat(t))},t.saveExamples=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return z.apply(void 0,["examples"].concat(t))},t.readExamples=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return x.apply(void 0,["examples"].concat(t))},t.fetchGuide=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return y.apply(void 0,["guide"].concat(t))},t.saveGuide=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return z.apply(void 0,["guide"].concat(t))},t.readGuide=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return x.apply(void 0,["guide"].concat(t))},t.fetchAbout=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return y.apply(void 0,["about"].concat(t))},t.saveAbout=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return z.apply(void 0,["about"].concat(t))},t.read
 About=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return x.apply(void 0,["about"].concat(t))},t.fetchDoodle=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return y.apply(void 0,["doodle"].concat(t))},t.fetchNews=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return y.apply(void 0,["news"].concat(t))}},function(e,t,n){"use strict";var o=n(15),r=n(16),i=n(31),a=n(4),s=n(3),c=n(18),l=n(50),u=n(23),p=n(57),d=n(6)("iterator"),f=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,v,g,m,S){l(n,t,v);var y,z,x,_=function(e){if(!f&&e in j)return j[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},b=t+" Iterator",w="values"==g,L=!1,j=e.prototype,C=j[d]||j["@@iterator"]||g&&j[g],k=!f&&C||_(g),O=g?w?_("entries"):k:void 0,E="Array"==t?j.entries||C:C;if(E&&(x=p(E.call(new e)))!==Object.prototype&&x.next&&
 (u(x,b,!0),o||s(x,d)||a(x,d,h)),w&&C&&"values"!==C.name&&(L=!0,k=function(){return C.call(this)}),o&&!S||!f&&!L&&j[d]||a(j,d,k),c[t]=k,c[b]=h,g)if(y={values:w?k:_("values"),keys:m?k:_("keys"),entries:O},S)for(z in y)z in j||i(j,z,y[z]);else r(r.P+r.F*(f||L),t,y);return y}},function(e,t,n){e.exports=!n(2)&&!n(10)(function(){return 7!=Object.defineProperty(n(30)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var o=n(8),r=n(0).document,i=o(r)&&o(r.createElement);e.exports=function(e){return i?r.createElement(e):{}}},function(e,t,n){e.exports=n(4)},function(e,t,n){var o=n(9),r=n(51),i=n(22),a=n(20)("IE_PROTO"),s=function(){},c=function(){var e,t=n(30)("iframe"),o=i.length;for(t.style.display="none",n(56).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;o--;)delete c.prototype[i[o]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=o(e),n=new s,s.prototype
 =null,n[a]=e):n=c(),void 0===t?n:r(n,t)}},function(e,t,n){var o=n(3),r=n(5),i=n(53)(!1),a=n(20)("IE_PROTO");e.exports=function(e,t){var n,s=r(e),c=0,l=[];for(n in s)n!=a&&o(s,n)&&l.push(n);for(;t.length>c;)o(s,n=t[c++])&&(~i(l,n)||l.push(n));return l}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var o=n(33),r=n(22).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return o(e,r)}},function(e,t,n){"use strict";var o=i(n(38)),r=i(n(84));function i(e){return e&&e.__esModule?e:{default:e}}Vue.mixin(r.default),o.default.el="#root",new Vue(o.default)},function(e,t,n){var o,r,i=[];i.push(n(39)),o=n(40);var a=n(83);if(r=o=o||{},"object"!=typeof o.default&&"function"!=typeof o.default||(Object.keys(o).some(function(e){return"default"!==e&&"__esModule"!==e})&&console.error("named exports are not supported in *.vue files."),r=o=o.default),"function"==typeof r&&(r=r.opt
 ions),r.__file="/Users/Hanks/Codes/work/weex-vue-examples/src/pages/Guide.vue",r.render=a.render,r.staticRenderFns=a.staticRenderFns,r._scopeId="data-v-c247a1f0",r.style=r.style||{},i.forEach(function(e){for(var t in e)r.style[t]=e[t]}),"object"==typeof weex&&weex&&weex.document)try{weex.document.registerStyleSheets(r._scopeId,i)}catch(e){}e.exports=o},function(e,t){e.exports={size:{width:"750",height:"320"},center:{alignItems:"center",justifyContent:"center"},slider:{width:"750",height:"400",boxShadow:"0 5px 10px rgba(0, 0, 0, 0.2)",marginBottom:"10"},"slider-title":{width:"750",paddingTop:0,paddingRight:"30",paddingBottom:"30",paddingLeft:"30",fontSize:"46",textAlign:"center",color:"#FFFFFF"},indicator:{position:"absolute",left:0,right:0,bottom:0,width:"750",height:"30",itemSize:"12",itemColor:"#DDDDDD",itemSelectedColor:"rgb(0,180,255)"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(27),r=a(n(74)),i=a(n(78));function a(e){return e&&e.__es
 Module?e:{default:e}}var s=!1;t.default={components:{Lesson:r.default},data:function(){return{language:"en",navigationBarOptions:{title:{zh:"Weex 入门",en:"Weex Guide"}},lenssonIndex:0,sliders:i.default}},computed:{chosenLesson:function(){return this.sliders[this.lenssonIndex]}},watch:{lenssonIndex:function(){this.navigationBarOptions.backgroundColor=this.chosenLesson.mainColor,this.navigationBarOptions.title=this.chosenLesson.title},navigationBarOptions:function(){(0,o.setTitleBar)(this.navigationBarOptions,this.language)}},beforeCreate:function(){var e=this;(0,o.readGuide)(function(t){e.sliders=t,"web"!==WXEnvironment.platform.toLowerCase()&&(s=!0)}),(0,o.fetchGuide)(function(t){(0,o.saveGuide)(t),s||(e.sliders=t.guide)})}}},function(e,t,n){e.exports={default:n(42),__esModule:!0}},function(e,t,n){var o=n(7),r=o.JSON||(o.JSON={stringify:JSON.stringify});e.exports=function(e){return r.stringify.apply(r,arguments)}},function(e,t,n){"use strict";t.__esModule=!0;var o=a(n(44)),r=a(n(
 63)),i="function"==typeof r.default&&"symbol"==typeof o.default?function(e){return typeof e}:function(e){return e&&"function"==typeof r.default&&e.constructor===r.default&&e!==r.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof r.default&&"symbol"===i(o.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof r.default&&e.constructor===r.default&&e!==r.default.prototype?"symbol":void 0===e?"undefined":i(e)}},function(e,t,n){e.exports={default:n(45),__esModule:!0}},function(e,t,n){n(46),n(59),e.exports=n(24).f("iterator")},function(e,t,n){"use strict";var o=n(47)(!0);n(28)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=o(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var o=n(13),r=n(14);e.exports=function(e){return function(t,n){var i,a,s=String(r(t)),c=o(n),l=s.length;retu
 rn c<0||c>=l?e?"":void 0:(i=s.charCodeAt(c))<55296||i>56319||c+1===l||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):i:e?s.slice(c,c+2):a-56320+(i-55296<<10)+65536}}},function(e,t,n){var o=n(49);e.exports=function(e,t,n){if(o(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,o){return e.call(t,n,o)};case 3:return function(n,o,r){return e.call(t,n,o,r)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var o=n(32),r=n(11),i=n(23),a={};n(4)(a,n(6)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=o(a,{next:r(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var o=n(1),r=n(9),i=n(19);e.exports=n(2)?Object.defineProperties:function(e,t){r(e);for(var n,a=i(t),s=a.length,c=0;s>c;)o.f(e,n=a[c++],t[n]);return e}},function(e,t,n){var o=n(34);e.exports=Object("z").propertyIsEnume
 rable(0)?Object:function(e){return"String"==o(e)?e.split(""):Object(e)}},function(e,t,n){var o=n(5),r=n(54),i=n(55);e.exports=function(e){return function(t,n,a){var s,c=o(t),l=r(c.length),u=i(a,l);if(e&&n!=n){for(;l>u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var o=n(13),r=Math.min;e.exports=function(e){return e>0?r(o(e),9007199254740991):0}},function(e,t,n){var o=n(13),r=Math.max,i=Math.min;e.exports=function(e,t){return(e=o(e))<0?r(e+t,0):i(e,t)}},function(e,t,n){var o=n(0).document;e.exports=o&&o.documentElement},function(e,t,n){var o=n(3),r=n(58),i=n(20)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),o(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var o=n(14);e.exports=function(e){return Object(o(e))}},function(e,t,n){n(60);for(var o=n(0),r=n(4),i=n(18),a=n(6)("toStringT
 ag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<s.length;c++){var l=s[c],u=o[l],p=u&&u.prototype;p&&!p[a]&&r(p,a,l),i[l]=i.Array}},function(e,t,n){"use strict";var o=n(61),r=n(62),i=n(18),a=n(5);e.exports=n(28)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},func
 tion(e,t,n){e.exports={default:n(64),__esModule:!0}},function(e,t,n){n(65),n(71),n(72),n(73),e.exports=n(7).Symbol},function(e,t,n){"use strict";var o=n(0),r=n(3),i=n(2),a=n(16),s=n(31),c=n(66).KEY,l=n(10),u=n(21),p=n(23),d=n(12),f=n(6),h=n(24),v=n(25),g=n(67),m=n(68),S=n(9),y=n(8),z=n(5),x=n(17),_=n(11),b=n(32),w=n(69),L=n(70),j=n(1),C=n(19),k=L.f,O=j.f,E=w.f,F=o.Symbol,N=o.JSON,W=N&&N.stringify,M="prototype",A=f("_hidden"),J=f("toPrimitive"),P={}.propertyIsEnumerable,U=u("symbol-registry"),D=u("symbols"),G=u("op-symbols"),T=Object[M],B="function"==typeof F,I=o.QObject,R=!I||!I[M]||!I[M].findChild,V=i&&l(function(){return 7!=b(O({},"a",{get:function(){return O(this,"a",{value:7}).a}})).a})?function(e,t,n){var o=k(T,t);o&&delete T[t],O(e,t,n),o&&e!==T&&O(T,t,o)}:O,X=function(e){var t=D[e]=b(F[M]);return t._k=e,t},H=B&&"symbol"==typeof F.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof F},Y=function(e,t,n){return e===T&&Y(G,t,n),S(e),t=x(t,!0),S(n),r(D,t
 )?(n.enumerable?(r(e,A)&&e[A][t]&&(e[A][t]=!1),n=b(n,{enumerable:_(0,!1)})):(r(e,A)||O(e,A,_(1,{})),e[A][t]=!0),V(e,t,n)):O(e,t,n)},q=function(e,t){S(e);for(var n,o=g(t=z(t)),r=0,i=o.length;i>r;)Y(e,n=o[r++],t[n]);return e},K=function(e){var t=P.call(this,e=x(e,!0));return!(this===T&&r(D,e)&&!r(G,e))&&(!(t||!r(this,e)||!r(D,e)||r(this,A)&&this[A][e])||t)},Q=function(e,t){if(e=z(e),t=x(t,!0),e!==T||!r(D,t)||r(G,t)){var n=k(e,t);return!n||!r(D,t)||r(e,A)&&e[A][t]||(n.enumerable=!0),n}},$=function(e){for(var t,n=E(z(e)),o=[],i=0;n.length>i;)r(D,t=n[i++])||t==A||t==c||o.push(t);return o},Z=function(e){for(var t,n=e===T,o=E(n?G:z(e)),i=[],a=0;o.length>a;)!r(D,t=o[a++])||n&&!r(T,t)||i.push(D[t]);return i};B||(s((F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===T&&t.call(G,n),r(this,A)&&r(this[A],e)&&(this[A][e]=!1),V(this,e,_(1,n))};return i&&R&&V(T,e,{configurable:!0,set:t}),X(e)})[M],"t
 oString",function(){return this._k}),L.f=Q,j.f=Y,n(36).f=w.f=$,n(26).f=K,n(35).f=Z,i&&!n(15)&&s(T,"propertyIsEnumerable",K,!0),h.f=function(e){return X(f(e))}),a(a.G+a.W+a.F*!B,{Symbol:F});for(var ee="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),te=0;ee.length>te;)f(ee[te++]);for(var ne=C(f.store),oe=0;ne.length>oe;)v(ne[oe++]);a(a.S+a.F*!B,"Symbol",{for:function(e){return r(U,e+="")?U[e]:U[e]=F(e)},keyFor:function(e){if(!H(e))throw TypeError(e+" is not a symbol!");for(var t in U)if(U[t]===e)return t},useSetter:function(){R=!0},useSimple:function(){R=!1}}),a(a.S+a.F*!B,"Object",{create:function(e,t){return void 0===t?b(e):q(b(e),t)},defineProperty:Y,defineProperties:q,getOwnPropertyDescriptor:Q,getOwnPropertyNames:$,getOwnPropertySymbols:Z}),N&&a(a.S+a.F*(!B||l(function(){var e=F();return"[null]"!=W([e])||"{}"!=W({a:e})||"{}"!=W(Object(e))})),"JSON",{stringify:function(e){for(var t,n,o=[e],r=1;arguments.le
 ngth>r;)o.push(arguments[r++]);if(n=t=o[1],(y(t)||void 0!==e)&&!H(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!H(t))return t}),o[1]=t,W.apply(N,o)}}),F[M][J]||n(4)(F[M],J,F[M].valueOf),p(F,"Symbol"),p(Math,"Math",!0),p(o.JSON,"JSON",!0)},function(e,t,n){var o=n(12)("meta"),r=n(8),i=n(3),a=n(1).f,s=0,c=Object.isExtensible||function(){return!0},l=!n(10)(function(){return c(Object.preventExtensions({}))}),u=function(e){a(e,o,{value:{i:"O"+ ++s,w:{}}})},p=e.exports={KEY:o,NEED:!1,fastKey:function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,o)){if(!c(e))return"F";if(!t)return"E";u(e)}return e[o].i},getWeak:function(e,t){if(!i(e,o)){if(!c(e))return!0;if(!t)return!1;u(e)}return e[o].w},onFreeze:function(e){return l&&p.NEED&&c(e)&&!i(e,o)&&u(e),e}}},function(e,t,n){var o=n(19),r=n(35),i=n(26);e.exports=function(e){var t=o(e),n=r.f;if(n)for(var a,s=n(e),c=i.f,l=0;s.length>l;)c.call(e,a=s[l++])&&t.push(a);return t}},functi
 on(e,t,n){var o=n(34);e.exports=Array.isArray||function(e){return"Array"==o(e)}},function(e,t,n){var o=n(5),r=n(36).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return r(e)}catch(e){return a.slice()}}(e):r(o(e))}},function(e,t,n){var o=n(26),r=n(11),i=n(5),a=n(17),s=n(3),c=n(29),l=Object.getOwnPropertyDescriptor;t.f=n(2)?l:function(e,t){if(e=i(e),t=a(t,!0),c)try{return l(e,t)}catch(e){}if(s(e,t))return r(!o.f.call(e,t),e[t])}},function(e,t){},function(e,t,n){n(25)("asyncIterator")},function(e,t,n){n(25)("observable")},function(e,t,n){var o,r,i=[];i.push(n(75)),o=n(76);var a=n(77);if(r=o=o||{},"object"!=typeof o.default&&"function"!=typeof o.default||(Object.keys(o).some(function(e){return"default"!==e&&"__esModule"!==e})&&console.error("named exports are not supported in *.vue files."),r=o=o.default),"function"==typeof r&&(r=r.options)
 ,r.__file="/Users/Hanks/Codes/work/weex-vue-examples/src/components/Lesson.vue",r.render=a.render,r.staticRenderFns=a.staticRenderFns,r._scopeId="data-v-712a3d30",r.style=r.style||{},i.forEach(function(e){for(var t in e)r.style[t]=e[t]}),"object"==typeof weex&&weex&&weex.document)try{weex.document.registerStyleSheets(r._scopeId,i)}catch(e){}e.exports=o},function(e,t){e.exports={center:{alignItems:"center",justifyContent:"center"},title:{fontSize:"60",textAlign:"center",marginTop:"60",marginBottom:"60",color:"#606060"},lesson:{borderBottomWidth:"1",borderBottomStyle:"solid",borderBottomColor:"#EEEEEE",flexDirection:"row",alignItems:"center"},"lesson-zh":{width:"600"},"lesson-en":{width:"630"},"lesson-index":{color:"#777777",textAlign:"right",paddingRight:"30"},"lesson-title":{paddingTop:"35",paddingBottom:"35"},"lesson-index-zh":{fontSize:"46",width:"120"},"lesson-title-zh":{fontSize:"42",width:"480"},"lesson-index-en":{fontSize:"42",width:"100"},"lesson-title-en":{fontSize:"38",widt
 h:"530"},footer:{height:"120",paddingTop:"40"},copyright:{fontSize:"22",color:"#A0A0A0",textAlign:"center"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:["mainColor","title","copyright","lessons"],data:function(){return{language:"en"}}}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:["wrapper"]},[n("div",{staticClass:["center"]},[n("text",{staticClass:["title"]},[e._v(e._s(e.i18n(e.title)))])]),e._l(e.lessons,function(t,o){return n("div",{key:o,staticClass:["center"]},[n("div",{class:["lesson","lesson-"+e.language],on:{click:function(n){e.jumpTo(t.docLink,t.title)}}},[n("text",{class:["lesson-index","lesson-index-"+e.language]},[e._v(e._s(o+1)+".")]),n("text",{class:["lesson-title","lesson-title-"+e.language],style:{color:e.mainColor}},[e._v(e._s(e.i18n(t.title)))])])])}),n("div",{staticClass:["footer","center"]},[n("text",{staticClass:["copyright"]},[e._v(e._s(
 e.i18n(e.copyright)))])])],2)},staticRenderFns:[]},e.exports.render._withStripped=!0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r,i,a,s=n(79),c=(o=s)&&o.__esModule?o:{default:o};t.default=[{subject:"weex",mainColor:"#00B4FF",title:{zh:"学习 Weex",en:"Learn Weex"},poster:"https://gw.alicdn.com/tfs/TB1.8Vdl9_I8KJjy0FoXXaFnVXa-3799-1615.png",posterBg:"#E5F7FF",posterStyle:{width:"650px",height:"304px"},copyright:{zh:"来自 http://weex-project.io/cn/",en:"From http://weex-project.io/"},lessons:[{title:{zh:"快速入门",en:"Getting Started"},docLink:{zh:"http://weex-project.io/cn/guide/index.html",en:"http://weex-project.io/guide/index.html"}},{title:{zh:"工作原理",en:"How it Works"},docLink:{zh:"http://weex-project.io/cn/guide/intro/how-it-works.html",en:"http://weex-project.io/guide/intro/how-it-works.html"}},{title:{zh:"与 Web 平台的差异",en:"Platform difference with Web"},docLink:{zh:"http://weex-project.io/cn/references/platfor
 m-difference.html",en:"http://weex-project.io/references/platform-difference.html"}},{title:{zh:"集成 Weex 到已有应用",en:"Integrate to Your App"},docLink:{zh:"http://weex-project.io/cn/guide/integrate-to-your-app.html",en:"http://weex-project.io/guide/integrate-to-your-app.html"}},{title:{zh:"搭建开发环境",en:"Set Up Dev Environment"},docLink:{zh:"http://weex-project.io/cn/guide/set-up-env.html",en:"http://weex-project.io/guide/set-up-env.html"}},{title:{zh:"通用样式",en:"Common Styles"},docLink:{zh:"http://weex-project.io/cn/references/common-style.html",en:"http://weex-project.io/references/common-style.html"}},{title:{zh:"通用事件",en:"Common Events"},docLink:{zh:"http://weex-project.io/cn/references/common-event.html",en:"http://weex-project.io/references/common-event.html"}},{title:{zh:"Weex 实例变量",en:'The "weex" Variable'},docLink:{zh:"http://weex-project.io/cn/references/weex-variable.html",en:"http://weex-project.io/references/weex-variable.html"
 }},{title:{zh:"内置组件",en:"Built-in Components"},docLink:{zh:"http://weex-project.io/cn/references/components/index.html",en:"http://weex-project.io/references/components/index.html"}},{title:{zh:"内置模块",en:"Built-in Modules"},docLink:{zh:"http://weex-project.io/cn/references/modules/index.html",en:"http://weex-project.io/references/modules/index.html"}},{title:{zh:"扩展 Android 组件/模块",en:"Extend Android"},docLink:{zh:"http://weex-project.io/cn/references/advanced/extend-to-android.html",en:"http://weex-project.io/references/advanced/extend-to-android.html"}},{title:{zh:"扩展 iOS 组件/模块",en:"Extend iOS"},docLink:{zh:"http://weex-project.io/cn/references/advanced/extend-to-ios.html",en:"http://weex-project.io/references/advanced/extend-to-ios.html"}},{title:{zh:"使用 weex-toolkit",en:"Use weex-toolkit"},docLink:{zh:"http://weex-project.io/cn/guide/tools/toolkit.html",en:"http://weex-project.io/guide/tools/toolkit.html"}},{title:{zh:"如何参与贡
 ",en:"How to Contribute"},docLink:{zh:"http://weex-project.io/cn/guide/contributing.html",en:"http://weex-project.io/guide/contributing.html"}}]},(r={subject:"vue",mainColor:"#42b983",title:{zh:"学习 Vue.js",en:"Learn Vue.js"},poster:"https://gw.alicdn.com/tfs/TB1J_uKcMMPMeJjy1XdXXasrXXa-400-400.png",posterBg:"#E7FBF2",posterStyle:{width:"300px",height:"300px"}},(0,c.default)(r,"title",{zh:"学习 Vue.js",en:"Learn Vue.js"}),(0,c.default)(r,"copyright",{zh:"来自 https://cn.vuejs.org/",en:"From https://vuejs.org/"}),(0,c.default)(r,"lessons",[{title:{zh:"Vue.js 是什么?",en:"What is Vue.js ?"},docLink:{zh:"https://cn.vuejs.org/v2/guide/index.html",en:"https://vuejs.org/v2/guide/index.html"}},{title:{zh:"单文件组件",en:"Single File Components"},docLink:{zh:"https://cn.vuejs.org/v2/guide/single-file-components.html",en:"https://vuejs.org/v2/guide/single-file-components.html"}},{title:{zh:"模板语法",en:"Template Syntax"},docLink:{zh:"https://cn.vuejs.org/v2/guide/synta
 x.html",en:"https://vuejs.org/v2/guide/syntax.html"}},{title:{zh:"Class 与 Style 绑定",en:"Class and Style Bindings"},docLink:{zh:"https://cn.vuejs.org/v2/guide/class-and-style.html",en:"https://vuejs.org/v2/guide/class-and-style.html"}},{title:{zh:"条件渲染",en:"Conditional Rendering"},docLink:{zh:"https://cn.vuejs.org/v2/guide/conditional.html",en:"https://vuejs.org/v2/guide/conditional.html"}},{title:{zh:"列表渲染",en:"List Rendering"},docLink:{zh:"https://cn.vuejs.org/v2/guide/list.html",en:"https://vuejs.org/v2/guide/list.html"}},{title:{zh:"事件处理",en:"Event Handling"},docLink:{zh:"https://cn.vuejs.org/v2/guide/events.html",en:"https://vuejs.org/v2/guide/events.html"}},{title:{zh:"表单输入绑定",en:"Form Input Bindings"},docLink:{zh:"https://cn.vuejs.org/v2/guide/forms.html",en:"https://vuejs.org/v2/guide/forms.html"}},{title:{zh:"Vue 实例",en:"The Vue Instance"},docLink:{zh:"https://cn.vuejs.org/v2/guide/instance.html",en:"https://vuejs.org/v2/guide/in
 stance.html"}},{title:{zh:"在 Weex 中的差异",en:"Difference in Weex"},docLink:{zh:"http://weex-project.io/cn/references/vue/difference-with-web.html",en:"http://weex-project.io/references/vue/difference-with-web.html"}},{title:{zh:"混合(mixins)",en:"Mixins"},docLink:{zh:"https://cn.vuejs.org/v2/guide/mixins.html",en:"https://vuejs.org/v2/guide/mixins.html"}},{title:{zh:"过滤器(filters)",en:"Filters"},docLink:{zh:"https://cn.vuejs.org/v2/guide/filters.html",en:"https://vuejs.org/v2/guide/filters.html"}},{title:{zh:"插件(plugins)",en:"Plugins"},docLink:{zh:"https://cn.vuejs.org/v2/guide/plugins.html",en:"https://vuejs.org/v2/guide/plugins.html"}},{title:{zh:"自定义指令",en:"Custom Directives"},docLink:{zh:"https://cn.vuejs.org/v2/guide/custom-directive.html",en:"https://vuejs.org/v2/guide/custom-directive.html"}},{title:{zh:"状态管理",en:"State Management"},docLink:{zh:"https://cn.vuejs.org/v2/guide/state-management.html",en:"https://vuejs.org/v2/guide
 /state-management.html"}},{title:{zh:"深入响应式原理",en:"Reactivity in Depth"},docLink:{zh:"https://cn.vuejs.org/v2/guide/reactivity.html",en:"https://vuejs.org/v2/guide/reactivity.html"}},{title:{zh:"渲染函数",en:"Render Functions"},docLink:{zh:"https://cn.vuejs.org/v2/guide/render-function.html",en:"https://vuejs.org/v2/guide/render-function.html"}},{title:{zh:"TypeScript 支持",en:"TypeScript Support"},docLink:{zh:"https://cn.vuejs.org/v2/guide/typescript.html",en:"https://vuejs.org/v2/guide/typescript.html"}},{title:"API",docLink:{zh:"https://cn.vuejs.org/v2/api/",en:"https://vuejs.org/v2/api/"}}]),r),(i={subject:"javascript",mainColor:"#F7BD2A",title:{zh:"学习 Javascript",en:"Learn Javascript"},poster:"https://gw.alicdn.com/tfs/TB1bT98hMoQMeJjy0FpXXcTxpXa-1500-700.png",posterBg:"#FAF3EB",posterStyle:{width:"750px",height:"350px"}},(0,c.default)(i,"title",{zh:"学习 Javascript",en:"Learn Javascript"}),(0,c.default)(i,"copyright",{zh:"来自 MDN (Mozilla Developer
  Network)",en:"From MDN (Mozilla Developer Network)"}),(0,c.default)(i,"lessons",[{title:{zh:"什么是 Javascript ?",en:"What is Javascript ?"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Learn/JavaScript/First_steps/What_is_JavaScript",en:"https://developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/What_is_JavaScript"}},{title:{zh:"JavaScript基础",en:"JavaScript basics"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Learn/Getting_started_with_the_web/JavaScript_basics",en:"https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/JavaScript_basics"}},{title:{zh:"重新介绍 JavaScript",en:"A re-introduction to JavaScript"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/A_re-introduction_to_JavaScript",en:"https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript"}},{title:{zh:"语法和数据类型",en:"Grammar and types"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Web
 /JavaScript/Guide/Grammar_and_types#Variable_scope",en:"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Grammar_and_types#Variable_scope"}},{title:{zh:"数据类型和数据结构",en:"Data types and data structures"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Data_structures",en:"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures"}},{title:{zh:"变量",en:"Variables"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Learn/JavaScript/First_steps/Variables",en:"https://developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/Variables"}},{title:{zh:"数字和操作符",en:"Numbers and operators"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Learn/JavaScript/First_steps/Math",en:"https://developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/Math"}},{title:{zh:"字符串",en:"Handling text"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Learn/JavaScript/First_steps/Strings",en:"https://devel
 oper.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/Strings"}},{title:{zh:"常用的 String 方法",en:"Useful string methods"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Learn/JavaScript/First_steps/Useful_string_methods",en:"https://developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/Useful_string_methods"}},{title:{zh:"数组",en:"Arrays"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Learn/JavaScript/First_steps/Arrays",en:"https://developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/Arrays"}},{title:{zh:"函数",en:"Functions"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Guide/Functions",en:"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Functions"}},{title:{zh:"JavaScript 对象基础",en:"JavaScript object basics"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Learn/JavaScript/Objects/Basics",en:"https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/Basics"}},{title:{zh:"使
 用对象",en:"Working with objects"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Guide/Working_with_Objects",en:"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Working_with_Objects"}},{title:{zh:"使用 JSON 数据",en:"Working with JSON"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Learn/JavaScript/Objects/JSON",en:"https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/JSON"}},{title:{zh:"对象模型的细节",en:"Details of the object model"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Guide/Details_of_the_Object_Model",en:"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Details_of_the_Object_Model"}},{title:{zh:"对象原型",en:"Object prototypes"},docLink:{zh:"https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/Object_prototypes",en:"https://developer.mozilla.org/zh-CN/docs/Learn/JavaScript/Objects/Object_prototypes"}},{title:{zh:"JavaScript 中的继承",en:"Inh
 eritance in JavaScript"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Learn/JavaScript/Objects/Inheritance",en:"https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/Inheritance"}},{title:{zh:"继承与原型链",en:"Inheritance and the prototype chain"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Inheritance_and_the_prototype_chain",en:"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Inheritance_and_the_prototype_chain"}},{title:{zh:"严格模式",en:"Strict mode"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Strict_mode",en:"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode"}},{title:{zh:"内存管理",en:"Memory Management"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Memory_Management",en:"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Memory_Management"}},{title:{zh:"并发模型与事件循环",en:"Concurrency model and Event Loo
 p"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/EventLoop",en:"https://developer.mozilla.org/en-US/docs/Web/JavaScript/EventLoop"}},{title:{zh:"JavaScript 标准库",en:"Standard built-in objects"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects",en:"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects"}}]),i),(a={subject:"css",mainColor:"#F56FC6",title:{zh:"学习 CSS",en:"Learn CSS"},titleColor:"#FFFFFF",poster:"https://gw.alicdn.com/tfs/TB1k6anhMMPMeJjy1XdXXasrXXa-427-190.jpg",posterBg:"#FFA2DE",posterStyle:{width:"517px",height:"230px"}},(0,c.default)(a,"title",{zh:"学习 CSS",en:"Learn CSS"}),(0,c.default)(a,"copyright",{zh:"来自 MDN (Mozilla Developer Network)",en:"From MDN (Mozilla Developer Network)"}),(0,c.default)(a,"lessons",[{title:{zh:"什么是 CSS ?",en:"What is CSS ?"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Web/Guide/CSS/Getting_started/What_is_CSS",
 en:"https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Getting_started/What_is_CSS"}},{title:{zh:"CSS 语法",en:"CSS Syntax"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Learn/CSS/Introduction_to_CSS/Syntax",en:"https://developer.mozilla.org/en-US/docs/Learn/CSS/Introduction_to_CSS/Syntax"}},{title:{zh:"CSS的值和单位",en:"CSS Values and Units"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Learn/CSS/Introduction_to_CSS/Values_and_units",en:"https://developer.mozilla.org/en-US/docs/Learn/CSS/Introduction_to_CSS/Values_and_units"}},{title:{zh:"盒模型",en:"The Box Model"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Learn/CSS/Introduction_to_CSS/Box_model",en:"https://developer.mozilla.org/en-US/docs/Learn/CSS/Introduction_to_CSS/Box_model"}},{title:{zh:"盒模型的属性",en:"Box Model Properties"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Web/CSS/CSS_Box_Model",en:"https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Box_Model"}},{
 title:{zh:"定位布局",en:"Positioning"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Learn/CSS/CSS_layout/%E5%AE%9A%E4%BD%8Dx",en:"https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/positioning"}},{title:{zh:"定位布局的属性",en:"CSS Positioning"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Web/CSS/CSS_Positioning",en:"https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning"}},{title:{zh:"Flexbox 布局",en:"Flexbox Layout"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Learn/CSS/CSS_layout/Flexbox",en:"https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox"}},{title:{zh:"Flexbox 布局的属性",en:"CSS Flexible Box Layout"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Web/CSS/CSS_Flexible_Box_Layout",en:"https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout"}},{title:{zh:"Weex 中的通用样式",en:"Common Styles in Weex"},docLink:{zh:"http://weex-project.io/cn/references/common-sty
 le.html",en:"http://weex-project.io/references/common-style.html"}},{title:{zh:"Weex 中的文本样式",en:"Text Styles in Weex"},docLink:{zh:"http://weex-project.io/cn/references/text-style.html",en:"http://weex-project.io/references/text-style.html"}},{title:{zh:"块格式化上下文(BFC)",en:"Block Formatting Context"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Web/Guide/CSS/Block_formatting_context",en:"https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Block_formatting_context"}},{title:{zh:"视觉格式化模型",en:"Visual Formatting Model"},docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Web/Guide/CSS/Visual_formatting_model",en:"https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Visual_formatting_model"}},{title:"CSS Reference",docLink:{zh:"https://developer.mozilla.org/zh-CN/docs/Web/CSS/Reference",en:"https://developer.mozilla.org/en-US/docs/Web/CSS/Reference"}}]),a)]},function(e,t,n){"use strict";t.__esModule=!0;var o,r=n(80),i=(o=r)&&o.__esMod
 ule?o:{default:o};t.default=function(e,t,n){return t in e?(0,i.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){e.exports={default:n(81),__esModule:!0}},function(e,t,n){n(82);var o=n(7).Object;e.exports=function(e,t,n){return o.defineProperty(e,t,n)}},function(e,t,n){var o=n(16);o(o.S+o.F*!n(2),"Object",{defineProperty:n(1).f})},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("scroller",{staticClass:["wrapper"]},[n("slider",{staticClass:["slider"],attrs:{autoPlay:"true"}},[e._l(e.sliders,function(t,o){return n("div",{key:t.subject,staticClass:["center"],style:{backgroundColor:t.posterBg},on:{click:function(t){e.lenssonIndex=o}}},[n("div",{staticClass:["center","size"]},[n("image",{style:t.posterStyle,attrs:{resize:"cover",src:t.poster}})]),n("text",{staticClass:["slider-title"],style:{color:t.titleColor||t.mainColor}},[e._v(e._s(e.i18n(t.title)))])])}),n("indicator",{staticClass:["indicator
 "]})],2),n("lesson",{attrs:{mainColor:e.chosenLesson.mainColor,title:e.chosenLesson.title,lessons:e.chosenLesson.lessons,copyright:e.chosenLesson.copyright}})],1)},staticRenderFns:[]},e.exports.render._withStripped=!0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(27));var r=weex.requireModule("storage");t.default={filters:{i18n:o.i18n,url:o.createURL,link:o.createLink},methods:{createLink:o.createLink,createURL:o.createURL,i18n:o.i18n,getLanguage:o.getLanguage,fetchData:o.fetchData,saveData:o.saveData,readData:o.readData,jumpTo:o.jumpTo},created:function(){var e=this;o.getLanguage(function(t){e.language=t,o.setTitleBar(e.navigationBarOptions,t)}),new BroadcastChannel("language").onmessage=function(t){t.data&&t.data.language&&(e.language=t.data.language)}},beforeDestroy:function(){r.removeItem(
 "CURRENT_DOCUMENT_URL"),r.removeItem("CURRENT_SOURCE_HASH")}}}]);
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/43564f3b/android/playground/app/src/main/assets/landing.weex.js
----------------------------------------------------------------------
diff --git a/android/playground/app/src/main/assets/landing.weex.js b/android/playground/app/src/main/assets/landing.weex.js
new file mode 100644
index 0000000..db307ad
--- /dev/null
+++ b/android/playground/app/src/main/assets/landing.weex.js
@@ -0,0 +1,4 @@
+// { "framework": "Vue" }
+"use weex:vue";
+
+!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=37)}([function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(3),o=n(11);t.exports=n(4)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(9),o=n(29),i=n(17),u=Object.defineProperty;e.f=n(4)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)tr
 y{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){t.exports=!n(10)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(55),o=n(15);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(21)("wks"),o=n(12),i=n(0).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var n=t.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(7);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,r=Math.random();t.expo
 rts=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fetchNews=e.fetchDoodle=e.readAbout=e.saveAbout=e.fetchAbout=e.readGuide=e.saveGuide=e.fetchGuide=e.readExamples=e.saveExamples=e.fetchExamples=void 0;var r=i(n(44)),o=i(n(46));function i(t){return t&&t.__esModule?t:{default:t}}e.createLink=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];for(var r in e)"string"==typeof e[r]&&n.push(f(r)+"="+f(e[r]));if("Web"===WXEnvironment.platform)return n.unshift("page="+t+".web.js"),"/?"+n.join("&");return""+function(){var t=weex.config.bundleUrl,e=t.indexOf("your_current_IP")>=0||t.indexOf("file://assets/")>=0,n=t.indexOf("file:///")>=0&&t.indexOf("WeexDemo.app")>0;if(e)return"file://assets/";if(n)return t.substring(0,t.lastIndexOf("/")+1);return""}()+t+".weex.js"+(n.length?"?"+n.join("&"):"")},e.createURL=s,e.i18n=l,e.parseLanguage=d,e.setLanguage=fu
 nction(t){var e=d(t);e&&a.setItem("WEEX_PLAYGROUND_LANGUAGE",e)},e.clearStorageLanguage=function(){a.removeItem("WEEX_PLAYGROUND_LANGUAGE")},e.getStorageLanguage=v,e.getSystemLanguage=h,e.getLanguage=y,e.jumpTo=function(t,e){y(function(n){a.setItem("CURRENT_DOCUMENT_URL",l(t,n)),c.push({url:s("bf0305c14b511b24a4e616f53926432b",{language:n,title:l(e,n)})})})},e.viewSource=function(t){y(function(e){c.push({url:s("f6ce29faf686eabc38b410bf4828fa5a",{hash:t,language:e})})})},e.setTitleBar=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en";if("[object Object]"!==Object.prototype.toString.apply(t))return;var n=weex.requireModule("titleBar");if(t.color||t.backgroundColor)try{n.setStyle({foregroundColor:t.color||"#FFFFFF",backgroundColor:t.backgroundColor||"#00B4FF"})}catch(t){}var r=l(t.title,e);if(r)try{n.setTitle(r)}catch(t){}},e.fetchData=b,e.saveData=x,e.readData=w;var u=weex.requireModule("stream"),a=weex.requireModule("storage"),c=weex.requireModule("navigat
 or"),f="function"==typeof encodeURIComponent?encodeURIComponent:"function"==typeof encodeURI?encodeURI:function(t){return t};function s(t,e){if("Web"===WXEnvironment.platform)return"http://dotwe.org/raw/htmlVue/"+t;var n="http://dotwe.org/raw/dist/"+t+".bundle.wx",r=function(t){if(!t||"object"!==(void 0===t?"undefined":(0,o.default)(t)))return"";var e=[];for(var n in t)"string"==typeof t[n]&&e.push(f(n)+"="+f(t[n]));return e.join("&")}(e);return"TB"===WXEnvironment.appName?n+"?_wx_tpl="+n+"&"+r:"WXSample"===WXEnvironment.appName?n+"?"+r:n+"?wx_weex=true&"+r}function l(t,e){return"string"==typeof t?t:"[object Object]"===Object.prototype.toString.call(t)?t[this&&this.language||e||"en"]:void 0}var p=/(en|zh)\_?\w*/i;function d(t){var e=p.exec(t+"");return e&&e[1]?e[1]:""}function v(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};if("function"!==!(void 0===t||(0,o.default)(t)))try{a.getItem("WEEX_PLAYGROUND_LANGUAGE",function(n){if("success"===n.result){var 
 r=d(n.data);r?t(r):e()}else e(n)})}catch(t){e(t)}}function h(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};if("function"!==!(void 0===t||(0,o.default)(t)))if("web"===WXEnvironment.platform.toLowerCase()){var n=d(window.navigator.language);n?t(n):e()}else try{var r=weex.requireModule("locale")||weex.requireModule("local"),i=!1,u=d(r.getLanguage(function(n){var r=d(n);r?i||t(r):e()}));u?(i=!0,t(u)):e()}catch(t){e(t)}}var g=/.+[\?\&]{1}language=([\d\w]+)[\?\&]?.*/i;function y(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},e=g.exec(weex.config.bundleUrl||""),n=d(e&&e[1]);n?t(n):v(t,function(){h(t,function(){t("en")})})}var m={doodle:"WEEX_PLAYGROUND_APP_DOODLE",guide:"WEEX_PLAYGROUND_APP_GUIDE",examples:"WEEX_PLAYGROUND_APP_EXAMPLES",news:"WEEX_PLAYGROUND_APP_NEWS",about:"WEEX_PLAYGROUND_APP_ABOUT"};function b(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=arguments.length>2&&void 0!==arguments[2
 ]?arguments[2]:function(){};try{u.fetch({url:"http://dotwe.org/query/weex-playground-app",method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded"},type:"json",body:"name="+t},function(t){t.ok&&t.data&&t.data.success?e(t.data):n(t)})}catch(t){n(t)}}function x(t,e){var n=m[t];n&&e&&"object"===(void 0===e?"undefined":(0,o.default)(e))&&(e.timestamp=Date.now(),a.setItem(n,(0,r.default)(e)))}function w(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=m[t];if(!r)return n();try{a.getItem(r,function(r){if("success"===r.result){var o=JSON.parse(r.data);if(o&&Array.isArray(o[t]))return e(o[t])}n(r)})}catch(t){n(t)}}e.fetchExamples=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return b.apply(void 0,["examples"].concat(e))},e.saveExamples=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return x.apply(void 0,["exampl
 es"].concat(e))},e.readExamples=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return w.apply(void 0,["examples"].concat(e))},e.fetchGuide=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return b.apply(void 0,["guide"].concat(e))},e.saveGuide=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return x.apply(void 0,["guide"].concat(e))},e.readGuide=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return w.apply(void 0,["guide"].concat(e))},e.fetchAbout=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return b.apply(void 0,["about"].concat(e))},e.saveAbout=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return x.apply(void 0,["about"].concat(e))},e.readAbout=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return w.apply(void 0,["about"].concat(e))},e.fetchDoodle=function(){fo
 r(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return b.apply(void 0,["doodle"].concat(e))},e.fetchNews=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return b.apply(void 0,["news"].concat(e))}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},function(t,e){t.exports=!0},function(t,e,n){var r=n(7);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports={}},function(t,e,n){var r=n(33),o=n(22);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(21)("keys"),o=n(12);t.exports=function(t){return 
 r[t]||(r[t]=o(t))}},function(t,e,n){var r=n(0),o="__core-js_shared__",i=r[o]||(r[o]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(3).f,o=n(1),i=n(6)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){e.f=n(6)},function(t,e,n){var r=n(0),o=n(8),i=n(16),u=n(24),a=n(3).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:u.f(t)})}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";var r=n(16),o=n(28),i=n(31),u=n(2),a=n(1),c=n(18),f=n(53),s=n(23),l=n(60),p=n(6)("iterator"),d=!([].keys&&"next"in[].keys()),v="values",h=function(){return this};t.exports=function(t,e,n,g,y,m,b){f(n,e,g);var x,w,_,O=function(t){if(!d&&t in L)return L[t];switch(t){case"keys":case v:return function(){return n
 ew n(this,t)}}return function(){return new n(this,t)}},S=e+" Iterator",E=y==v,j=!1,L=t.prototype,A=L[p]||L["@@iterator"]||y&&L[y],C=!d&&A||O(y),P=y?E?O("entries"):C:void 0,M="Array"==e?L.entries||A:A;if(M&&(_=l(M.call(new t)))!==Object.prototype&&_.next&&(s(_,S,!0),r||a(_,p)||u(_,p,h)),E&&A&&A.name!==v&&(j=!0,C=function(){return A.call(this)}),r&&!b||!d&&!j&&L[p]||u(L,p,C),c[e]=C,c[S]=h,y)if(x={values:E?C:O(v),keys:m?C:O("keys"),entries:P},b)for(w in x)w in L||i(L,w,x[w]);else o(o.P+o.F*(d||j),e,x);return x}},function(t,e,n){var r=n(0),o=n(8),i=n(51),u=n(2),a="prototype",c=function(t,e,n){var f,s,l,p=t&c.F,d=t&c.G,v=t&c.S,h=t&c.P,g=t&c.B,y=t&c.W,m=d?o:o[e]||(o[e]={}),b=m[a],x=d?r:v?r[e]:(r[e]||{})[a];d&&(n=e);for(f in n)(s=!p&&x&&void 0!==x[f])&&f in m||(l=s?x[f]:n[f],m[f]=d&&"function"!=typeof x[f]?n[f]:g&&s?i(l,r):y&&x[f]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return ne
 w t(e,n,r)}return t.apply(this,arguments)};return e[a]=t[a],e}(l):h&&"function"==typeof l?i(Function.call,l):l,h&&((m.virtual||(m.virtual={}))[f]=l,t&c.R&&b&&!b[f]&&u(b,f,l)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){t.exports=!n(4)&&!n(10)(function(){return 7!=Object.defineProperty(n(30)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(7),o=n(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){t.exports=n(2)},function(t,e,n){var r=n(9),o=n(54),i=n(22),u=n(20)("IE_PROTO"),a=function(){},c="prototype",f=function(){var t,e=n(30)("iframe"),r=i.length;for(e.style.display="none",n(59).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),f=t.F;r--;)delete f[c][i[r]];return f()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[c]=r(t),n=new a,a[c]=null,n[u]=t):n=f(),void 0===e?n:o(n,e
 )}},function(t,e,n){var r=n(1),o=n(5),i=n(56)(!1),u=n(20)("IE_PROTO");t.exports=function(t,e){var n,a=o(t),c=0,f=[];for(n in a)n!=u&&r(a,n)&&f.push(n);for(;e.length>c;)r(a,n=e[c++])&&(~i(f,n)||f.push(n));return f}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(33),o=n(22).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){"use strict";var r=u(n(38)),o=u(n(79)),i=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(13));function u(t){return t&&t.__esModule?t:{default:t}}try{weex.requireModule("titleBar").showTitleBar(!1)}catch(t){}Vue.mixin(o.default),setTimeout(function(){i.fetchExamples(i.saveExamples),i.fetchGuide(i.saveGuide),i.fetchAbout(i.saveAbout)},10),r.default.el="#root",new Vue(r.default)},function(t,e,n){var r,
 o,i=[];i.push(n(39)),r=n(40);var u=n(78);if(o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(Object.keys(r).some(function(t){return"default"!==t&&"__esModule"!==t})&&console.error("named exports are not supported in *.vue files."),o=r=r.default),"function"==typeof o&&(o=o.options),o.__file="/Users/Hanks/Codes/work/weex-vue-examples/src/pages/Landing.vue",o.render=u.render,o.staticRenderFns=u.staticRenderFns,o._scopeId="data-v-50791ba3",o.style=o.style||{},i.forEach(function(t){for(var e in t)o.style[e]=t[e]}),"object"==typeof weex&&weex&&weex.document)try{weex.document.registerStyleSheets(o._scopeId,i)}catch(t){}t.exports=r},function(t,e){t.exports={doodle:{width:"750",height:"880"},"menu-list":{flex:1},"menu-row":{flex:1,flexDirection:"row",justifyContent:"center",borderTopWidth:"1",borderTopStyle:"solid",borderTopColor:"#CCCCCC"},"menu-item":{flex:1,backgroundColor:"#FBFBFB",justifyContent:"center",paddingTop:"50",paddingBottom:"50","backgroundColor:active":"#F
 2F2F2"},"menu-item-1":{borderRightWidth:"1",borderRightStyle:"solid",borderRightColor:"#CCCCCC"},"menu-text":{textAlign:"center",fontSize:"52",fontWeight:"bold",color:"#8B8B8B"},"menu-text-zh":{fontSize:"56"}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(41),i=(r=o)&&r.__esModule?r:{default:r};e.default={components:{Doodle:i.default},data:function(){return{language:"en",menus:[[{name:"guide",title:{en:"Guide",zh:"教程"}},{name:"examples",title:{en:"Examples",zh:"实例"}}],[{name:"news",title:{en:"News",zh:"资讯"}},{name:"about",title:{en:"About",zh:"关于"}}]]}}}},function(t,e,n){var r,o,i=[];i.push(n(42)),r=n(43);var u=n(77);if(o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(Object.keys(r).some(function(t){return"default"!==t&&"__esModule"!==t})&&console.error("named exports are not supported in *.vue files."),o=r=r.default),"function"==typeof o&&(o=o.options),o.__file="/Users/Hanks/Codes/work/weex-vue-examples/
 src/components/Doodle.vue",o.render=u.render,o.staticRenderFns=u.staticRenderFns,o._scopeId="data-v-312c24c9",o.style=o.style||{},i.forEach(function(t){for(var e in t)o.style[e]=t[e]}),"object"==typeof weex&&weex&&weex.document)try{weex.document.registerStyleSheets(o._scopeId,i)}catch(t){}t.exports=r},function(t,e){t.exports={wrapper:{alignItems:"center",justifyContent:"space-between",backgroundColor:"#FFFFFF"},center:{alignItems:"center",justifyContent:"center"},logo:{width:"750",height:"318"},btn:{width:"450",height:"160",marginTop:"50",marginRight:"50",marginBottom:"50",marginLeft:"50",opacity:.7,"opacity:active":1},"scan-bg":{width:"450",height:"160",position:"absolute",top:0,left:0},"btn-text":{color:"#505050",fontSize:"56",textAlign:"center"},"btn-text-zh":{fontSize:"64"}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(13),o=(weex.requireModule("modal"),weex.requireModule("navigator")),i=weex.requireModule("event");e.default={props:["lan
 g"],data:function(){return{language:this.lang||"en",showDoodle:!1,seenDoodle:!1,SCAN:{en:"Scan QR Code",zh:"扫描二维码"},doodle:{}}},beforeCreate:function(){var t=this;(0,r.fetchDoodle)(function(e){var n,r,o=e.doodle;n=o,r=(new Date).getTime(),n&&n.src&&parseInt(n.from,10)<r&&r<parseInt(n.to,10)&&!t.seenDoodle&&(t.doodle=o,t.showDoodle=!0,setTimeout(function(){t.showDoodle=!1,t.seenDoodle=!0},o.duration||8e3))})},methods:{scan:function(){try{i.openURL("weex://go/scan")}catch(t){try{o.push({url:"weex://go/scan"})}catch(t){}}},magic:function(){this.doodle&&this.doodle.next&&(this.showDoodle=!1,o.push({url:this.createURL(this.doodle.next,{language:this.language})}))}}}},function(t,e,n){t.exports={default:n(45),__esModule:!0}},function(t,e,n){var r=n(8),o=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},function(t,e,n){"use strict";e.__esModule=!0;var r=u(n(47)),o=u(n(66)),i="function"==typeof o.default&&"symbol"==typeof r.de
 fault?function(t){return typeof t}:function(t){return t&&"function"==typeof o.default&&t.constructor===o.default&&t!==o.default.prototype?"symbol":typeof t};function u(t){return t&&t.__esModule?t:{default:t}}e.default="function"==typeof o.default&&"symbol"===i(r.default)?function(t){return void 0===t?"undefined":i(t)}:function(t){return t&&"function"==typeof o.default&&t.constructor===o.default&&t!==o.default.prototype?"symbol":void 0===t?"undefined":i(t)}},function(t,e,n){t.exports={default:n(48),__esModule:!0}},function(t,e,n){n(49),n(62),t.exports=n(24).f("iterator")},function(t,e,n){"use strict";var r=n(50)(!0);n(27)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){var r=n(14),o=n(15);t.exports=function(t){return function(e,n){var i,u,a=String(o(e)),c=r(n),f=a.length;return c<0||c>=f?t?"":void 0:(i=a.charCodeAt(c))<55296||i>5631
 9||c+1===f||(u=a.charCodeAt(c+1))<56320||u>57343?t?a.charAt(c):i:t?a.slice(c,c+2):u-56320+(i-55296<<10)+65536}}},function(t,e,n){var r=n(52);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){"use strict";var r=n(32),o=n(11),i=n(23),u={};n(2)(u,n(6)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(u,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(3),o=n(9),i=n(19);t.exports=n(4)?Object.defineProperties:function(t,e){o(t);for(var n,u=i(e),a=u.length,c=0;a>c;)r.f(t,n=u[c++],e[n]);return t}},function(t,e,n){var r=n(34);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split("
 "):Object(t)}},function(t,e,n){var r=n(5),o=n(57),i=n(58);t.exports=function(t){return function(e,n,u){var a,c=r(e),f=o(c.length),s=i(u,f);if(t&&n!=n){for(;f>s;)if((a=c[s++])!=a)return!0}else for(;f>s;s++)if((t||s in c)&&c[s]===n)return t||s||0;return!t&&-1}}},function(t,e,n){var r=n(14),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(14),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(1),o=n(61),i=n(20)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){var r=n(15);t.exports=function(t){return Object(r(t))}},function(t,e,n){n(63);for(var r=n(0),o=n(2),i=n(18),u=n(6)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,Clien
 tRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<a.length;c++){var f=a[c],s=r[f],l=s&&s.prototype;l&&!l[u]&&o(l,u,f),i[f]=i.Array}},function(t,e,n){"use strict";var r=n(64),o=n(65),i=n(18),u=n(5);t.exports=n(27)(Array,"Array",function(t,e){this._t=u(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){t.exports={default:n(67),__esModule:!0}},funct
 ion(t,e,n){n(68),n(74),n(75),n(76),t.exports=n(8).Symbol},function(t,e,n){"use strict";var r=n(0),o=n(1),i=n(4),u=n(28),a=n(31),c=n(69).KEY,f=n(10),s=n(21),l=n(23),p=n(12),d=n(6),v=n(24),h=n(25),g=n(70),y=n(71),m=n(9),b=n(7),x=n(5),w=n(17),_=n(11),O=n(32),S=n(72),E=n(73),j=n(3),L=n(19),A=E.f,C=j.f,P=S.f,M=r.Symbol,T=r.JSON,D=T&&T.stringify,R="prototype",k=d("_hidden"),N=d("toPrimitive"),F={}.propertyIsEnumerable,I=s("symbol-registry"),U=s("symbols"),G=s("op-symbols"),W=Object[R],X="function"==typeof M,B=r.QObject,q=!B||!B[R]||!B[R].findChild,z=i&&f(function(){return 7!=O(C({},"a",{get:function(){return C(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=A(W,e);r&&delete W[e],C(t,e,n),r&&t!==W&&C(W,e,r)}:C,V=function(t){var e=U[t]=O(M[R]);return e._k=t,e},H=X&&"symbol"==typeof M.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof M},J=function(t,e,n){return t===W&&J(G,e,n),m(t),e=w(e,!0),m(n),o(U,e)?(n.enumerable?(o(t,k)&&t[k][e]&&(t[k][e]=!1),n=O(n,{enum
 erable:_(0,!1)})):(o(t,k)||C(t,k,_(1,{})),t[k][e]=!0),z(t,e,n)):C(t,e,n)},Y=function(t,e){m(t);for(var n,r=g(e=x(e)),o=0,i=r.length;i>o;)J(t,n=r[o++],e[n]);return t},K=function(t){var e=F.call(this,t=w(t,!0));return!(this===W&&o(U,t)&&!o(G,t))&&(!(e||!o(this,t)||!o(U,t)||o(this,k)&&this[k][t])||e)},Q=function(t,e){if(t=x(t),e=w(e,!0),t!==W||!o(U,e)||o(G,e)){var n=A(t,e);return!n||!o(U,e)||o(t,k)&&t[k][e]||(n.enumerable=!0),n}},$=function(t){for(var e,n=P(x(t)),r=[],i=0;n.length>i;)o(U,e=n[i++])||e==k||e==c||r.push(e);return r},Z=function(t){for(var e,n=t===W,r=P(n?G:x(t)),i=[],u=0;r.length>u;)!o(U,e=r[u++])||n&&!o(W,e)||i.push(U[e]);return i};X||(a((M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===W&&e.call(G,n),o(this,k)&&o(this[k],t)&&(this[k][t]=!1),z(this,t,_(1,n))};return i&&q&&z(W,t,{configurable:!0,set:e}),V(t)})[R],"toString",function(){return this._k}),E.f=Q,j.f=J,n(36).f=S
 .f=$,n(26).f=K,n(35).f=Z,i&&!n(16)&&a(W,"propertyIsEnumerable",K,!0),v.f=function(t){return V(d(t))}),u(u.G+u.W+u.F*!X,{Symbol:M});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)d(tt[et++]);for(var nt=L(d.store),rt=0;nt.length>rt;)h(nt[rt++]);u(u.S+u.F*!X,"Symbol",{for:function(t){return o(I,t+="")?I[t]:I[t]=M(t)},keyFor:function(t){if(!H(t))throw TypeError(t+" is not a symbol!");for(var e in I)if(I[e]===t)return e},useSetter:function(){q=!0},useSimple:function(){q=!1}}),u(u.S+u.F*!X,"Object",{create:function(t,e){return void 0===e?O(t):Y(O(t),e)},defineProperty:J,defineProperties:Y,getOwnPropertyDescriptor:Q,getOwnPropertyNames:$,getOwnPropertySymbols:Z}),T&&u(u.S+u.F*(!X||f(function(){var t=M();return"[null]"!=D([t])||"{}"!=D({a:t})||"{}"!=D(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(b(e)||void 0!=
 =t)&&!H(t))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!H(e))return e}),r[1]=e,D.apply(T,r)}}),M[R][N]||n(2)(M[R],N,M[R].valueOf),l(M,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,e,n){var r=n(12)("meta"),o=n(7),i=n(1),u=n(3).f,a=0,c=Object.isExtensible||function(){return!0},f=!n(10)(function(){return c(Object.preventExtensions({}))}),s=function(t){u(t,r,{value:{i:"O"+ ++a,w:{}}})},l=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!c(t))return"F";if(!e)return"E";s(t)}return t[r].i},getWeak:function(t,e){if(!i(t,r)){if(!c(t))return!0;if(!e)return!1;s(t)}return t[r].w},onFreeze:function(t){return f&&l.NEED&&c(t)&&!i(t,r)&&s(t),t}}},function(t,e,n){var r=n(19),o=n(35),i=n(26);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var u,a=n(t),c=i.f,f=0;a.length>f;)c.call(t,u=a[f++])&&e.push(u);return e}},function(t,e,n){var r=n(34);t.exports=Array.isArray||function(t)
 {return"Array"==r(t)}},function(t,e,n){var r=n(5),o=n(36).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return u.slice()}}(t):o(r(t))}},function(t,e,n){var r=n(26),o=n(11),i=n(5),u=n(17),a=n(1),c=n(29),f=Object.getOwnPropertyDescriptor;e.f=n(4)?f:function(t,e){if(t=i(t),e=u(e,!0),c)try{return f(t,e)}catch(t){}if(a(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e){},function(t,e,n){n(25)("asyncIterator")},function(t,e,n){n(25)("observable")},function(t,e){t.exports={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:["wrapper"]},[this.showDoodle&&this.doodle.src?e("embed",{staticStyle:{flex:"1"},attrs:{src:this._f("url")(this.doodle.src)},on:{click:this.magic}}):e("div",{staticClass:["center"],staticStyle:{flex:"1"}},[e("image",{staticClass:["logo"],attrs:{src:"https://gw.alic
 dn.com/tfs/TB1Q9VBkRfH8KJjy1XbXXbLdXXa-3799-1615.png"}}),e("div",{staticClass:["btn","center"],on:{click:this.scan}},[e("image",{staticClass:["scan-bg"],attrs:{src:"https://gw.alicdn.com/tfs/TB1qnO0kLDH8KJjy1XcXXcpdXXa-900-320.png"}}),e("text",{class:["btn-text","btn-text-"+this.language]},[this._v(this._s(this.i18n(this.SCAN)))])])])])},staticRenderFns:[]},t.exports.render._withStripped=!0},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:["wrapper"]},[n("doodle",{staticClass:["doodle"],attrs:{lang:t.language}}),n("div",{staticClass:["menu-list"]},t._l(t.menus,function(e,r){return n("div",{key:r,class:["menu-row","menu-row-"+(r+1)]},t._l(e,function(e,r){return n("a",{key:e.name,class:["menu-item","menu-item-"+(r+1)],attrs:{href:t._f("link")(e.name,{language:t.language})}},[n("text",{class:["menu-text","menu-text-"+t.language]},[t._v(t._s(t.i18n(e.title)))])])}))}))],1)},staticRenderFns:[]},t.exports.render._withStr
 ipped=!0},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(13));var o=weex.requireModule("storage");e.default={filters:{i18n:r.i18n,url:r.createURL,link:r.createLink},methods:{createLink:r.createLink,createURL:r.createURL,i18n:r.i18n,getLanguage:r.getLanguage,fetchData:r.fetchData,saveData:r.saveData,readData:r.readData,jumpTo:r.jumpTo},created:function(){var t=this;r.getLanguage(function(e){t.language=e,r.setTitleBar(t.navigationBarOptions,e)}),new BroadcastChannel("language").onmessage=function(e){e.data&&e.data.language&&(t.language=e.data.language)}},beforeDestroy:function(){o.removeItem("CURRENT_DOCUMENT_URL"),o.removeItem("CURRENT_SOURCE_HASH")}}}]);
\ No newline at end of file


Mime
View raw message