[GitHub] incubator-weex pull request #1322: [WEEX-501][iOS] Try to fix insert table v...
Github user asfgit closed the pull request at: https://github.com/apache/incubator-weex/pull/1322 ---
[2/2] incubator-weex git commit: [WEEX-500][iOS] Fix Sticky in List will not be removed in some cases
[WEEX-500][iOS] Fix Sticky in List will not be removed in some cases Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/5ca1f002 Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/5ca1f002 Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/5ca1f002 Branch: refs/heads/master Commit: 5ca1f002a0df89f5a13b363ab28323b76f80438e Parents: bedc6aa Author: Xiaomin Authored: Wed Jul 11 20:41:37 2018 +0800 Committer: Adam Feng Committed: Thu Jul 12 12:32:00 2018 +0800 -- ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.mm | 4 +++- ios/sdk/WeexSDK/Sources/Model/WXComponent.mm | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5ca1f002/ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.mm -- diff --git a/ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.mm b/ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.mm index 9b8a1a2..056ca4e 100644 --- a/ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.mm +++ b/ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.mm @@ -354,7 +354,9 @@ WX_EXPORT_METHOD(@selector(resetLoadmore)) { if([self.stickyArray containsObject:sticky]) { [self.stickyArray removeObject:sticky]; -[self adjustSticky]; + WXPerformBlockOnMainThread(^{ + [self adjustSticky]; + }); } } http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5ca1f002/ios/sdk/WeexSDK/Sources/Model/WXComponent.mm -- diff --git a/ios/sdk/WeexSDK/Sources/Model/WXComponent.mm b/ios/sdk/WeexSDK/Sources/Model/WXComponent.mm index d877868..467a6b7 100644 --- a/ios/sdk/WeexSDK/Sources/Model/WXComponent.mm +++ b/ios/sdk/WeexSDK/Sources/Model/WXComponent.mm @@ -602,6 +602,9 @@ static BOOL bNeedRemoveEvents = YES; [self.weexInstance.componentManager removeFixedComponent:self]; self->_isNeedJoinLayoutSystem = YES; } + if (_positionType == WXPositionTypeSticky) { + [self.ancestorScroller removeStickyComponent:self]; + } } - (void)_moveToSupercomponent:(WXComponent *)newSupercomponent atIndex:(NSUInteger)index
[1/2] incubator-weex git commit: [WEEX-501][iOS] Try to fix insert table view cell exception abort on iOS
Repository: incubator-weex Updated Branches: refs/heads/master 44a3c412a -> 5ca1f002a [WEEX-501][iOS] Try to fix insert table view cell exception abort on iOS Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/bedc6aa4 Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/bedc6aa4 Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/bedc6aa4 Branch: refs/heads/master Commit: bedc6aa4759086ddb7fe14181be6384eed394192 Parents: 44a3c41 Author: Xiaomin Authored: Thu Jul 12 12:06:42 2018 +0800 Committer: Xiaomin Committed: Thu Jul 12 12:06:42 2018 +0800 -- ios/sdk/WeexSDK/Sources/Component/WXListComponent.mm | 8 ++-- ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m| 3 +++ ios/sdk/WeexSDK/Sources/Utility/WXUtility.h | 4 ios/sdk/WeexSDK/Sources/Utility/WXUtility.m | 11 +++ 4 files changed, 24 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/bedc6aa4/ios/sdk/WeexSDK/Sources/Component/WXListComponent.mm -- diff --git a/ios/sdk/WeexSDK/Sources/Component/WXListComponent.mm b/ios/sdk/WeexSDK/Sources/Component/WXListComponent.mm index 854aa3a..5f14aa0 100644 --- a/ios/sdk/WeexSDK/Sources/Component/WXListComponent.mm +++ b/ios/sdk/WeexSDK/Sources/Component/WXListComponent.mm @@ -31,6 +31,7 @@ #import "WXRefreshComponent.h" #import "WXLoadingComponent.h" #import "WXScrollerComponent+Layout.h" +#import "WXThreadSafeMutableArray.h" @interface WXTableView : UITableView @@ -94,8 +95,11 @@ - (instancetype)init { if (self = [super init]) { -_rows = [NSMutableArray array]; -} + if ([WXUtility listSectionRowThreadSafe]) { + _rows = [WXThreadSafeMutableArray array]; + } else { + _rows = [NSMutableArray array]; + }} return self; } http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/bedc6aa4/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m -- diff --git a/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m b/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m index a2ab434..db08941 100644 --- a/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m +++ b/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m @@ -326,6 +326,9 @@ typedef enum : NSUInteger { BOOL unregisterFontWhenCollision = [[configCenter configForKey:@"iOS_weex_ext_config.unregisterFontWhenCollision" defaultValue:@NO isDefault:NULL] boolValue]; [WXUtility setUnregisterFontWhenCollision:unregisterFontWhenCollision]; + BOOL listSectionRowThreadSafe = [[configCenter configForKey:@"iOS_weex_ext_config.listSectionRowThreadSafe" defaultValue:@(YES) isDefault:NULL] boolValue]; + [WXUtility setListSectionRowThreadSafe:listSectionRowThreadSafe]; + //Reading config from orange for Release instance in Main Thread or not _bReleaseInstanceInMainThread = [[configCenter configForKey:@"iOS_weex_ext_config.releaseInstanceInMainThread" defaultValue:@(YES) isDefault:nil] boolValue]; http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/bedc6aa4/ios/sdk/WeexSDK/Sources/Utility/WXUtility.h -- diff --git a/ios/sdk/WeexSDK/Sources/Utility/WXUtility.h b/ios/sdk/WeexSDK/Sources/Utility/WXUtility.h index 53d1308..9babd18 100644 --- a/ios/sdk/WeexSDK/Sources/Utility/WXUtility.h +++ b/ios/sdk/WeexSDK/Sources/Utility/WXUtility.h @@ -489,4 +489,8 @@ BOOL WXFloatGreaterThanWithPrecision(CGFloat a,CGFloat b,double precision); + (void)setUnregisterFontWhenCollision:(BOOL)value; ++ (void)setListSectionRowThreadSafe:(BOOL)value; + ++ (BOOL)listSectionRowThreadSafe; + @end http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/bedc6aa4/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m -- diff --git a/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m b/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m index f2e325e..62c0f3e 100644 --- a/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m +++ b/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m @@ -43,6 +43,7 @@ static BOOL threadSafeCollectionUsingLock = YES; static BOOL unregisterFontWhenCollision = NO; +static BOOL listSectionRowThreadSafe = YES; void WXPerformBlockOnMainThread(void (^ _Nonnull block)(void)) { @@ -153,6 +154,16 @@ CGFloat WXFloorPixelValue(CGFloat value) unregisterFontWhenCollision = value; } ++ (void)setListSectionRowThreadSafe:(BOOL)value +{ + listSectionRowThreadSafe = value; +} + ++ (BOOL)listSectionRowThreadSafe +{ +
[GitHub] incubator-weex issue #1322: [WEEX-501][iOS] Try to fix insert table view cel...
Github user weex-bot commented on the issue: https://github.com/apache/incubator-weex/pull/1322 Warnings :warning: No Changelog changes! Messages :book: danger test finished. Generated by :no_entry_sign: http://github.com/danger/danger-js/;>dangerJS ---
[GitHub] incubator-weex pull request #1322: [WEEX-501][iOS] Try to fix insert table v...
GitHub user caixiaomin opened a pull request: https://github.com/apache/incubator-weex/pull/1322 [WEEX-501][iOS] Try to fix insert table view cell exception abort on iOS With config switch. You can merge this pull request into a Git repository by running: $ git pull https://github.com/caixiaomin/incubator-weex TryFixingListRowInconsistent Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-weex/pull/1322.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1322 commit bedc6aa4759086ddb7fe14181be6384eed394192 Author: Xiaomin Date: 2018-07-12T04:06:42Z [WEEX-501][iOS] Try to fix insert table view cell exception abort on iOS ---
[6/6] incubator-weex git commit: [jsfm] upgrade js framework to v0.27.0 (#1321)
[jsfm] upgrade js framework to v0.27.0 (#1321) Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/44a3c412 Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/44a3c412 Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/44a3c412 Branch: refs/heads/master Commit: 44a3c412a8b7b5a9a14f6cd75eec6732d8df0a26 Parents: 41e2470 Author: Hanks Authored: Thu Jul 12 10:59:11 2018 +0800 Committer: Hanks Committed: Thu Jul 12 11:01:23 2018 +0800 -- android/sdk/assets/weex-main-jsfm.js | 2 +- android/sdk/assets/weex-rax-api.js | 2 +- package.json | 2 +- pre-build/weex-main-jsfm.js | 2 +- pre-build/weex-rax-api.js| 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) --
[1/6] incubator-weex git commit: [jsfm] upgrade js framework to v0.27.0 (#1321)
Repository: incubator-weex Updated Branches: refs/heads/master 41e247000 -> 44a3c412a http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/44a3c412/pre-build/weex-rax-api.js -- diff --git a/pre-build/weex-rax-api.js b/pre-build/weex-rax-api.js index cefcb59..fa86891 100644 --- a/pre-build/weex-rax-api.js +++ b/pre-build/weex-rax-api.js @@ -1,2 +1,2 @@ -console.log("Prepare Rax APIs 0.4.9, Build at 2018-07-11 12:29.");var global=this,process={env:{}};!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&?define(t):t()}(0,function(){"use strict";var e,t,n=(function(e){e.exports=function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}return o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},o.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},o.n=function(e){var t=e&__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=22)}([function(e,t,n){var r=e.exports.createUniqueKey="undefined"!=typeof Symbol?Symbol:function(e){return"[["+e+"_"+Math.random().toFixed(8).slice(2)+"]]"},o=e.exports.isObject=function (e){return"object"==typeof e&!==e};e.exports.LISTENERS=r("listeners"),e.exports.CAPTURE=1,e.exports.BUBBLE=2,e.exports.ATTRIBUTE=3,e.exports.newNode=function(e,t,n){var r=o(n);return{listener:e,kind:t,once:r&(n.once),passive:r&(n.passive),next:null}}},function(e,t,n){var r=n(0),o=n(9),i=n(8),a=r.isObject,u=r.LISTENERS,s=r.CAPTURE,l=r.BUBBLE,c=r.ATTRIBUTE,f=r.newNode,d=o.defineCustomEventTarget,p=i.createEventWrapper,h=i.STOP_IMMEDIATE_PROPAGATION_FLAG,v=i.PASSIVE_LISTENER_FLAG,y="undefined"!=typeof window& 0!==window.EventTarget,m=e.exports=function e(){var t=arguments;if(!(this instanceof e)){if(1===arguments.length&(arguments[0]))return d(e,arguments[0]);if(0>8-o%1*8)){if(255<(n=r.charCodeAt(o+=.75)))throw new Error("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");t=t<<8|n}return a},e.atob=function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,o=0,i=0,a="";r=t.charAt(i++);~r&&(n=o%4?64*n+r:r,o++%4)?a+=String.fromCharCode(255>>(-2*o&6)):0)r=u.indexOf(r);return a},e}},function(e,t,n){var o="@weex-module/timer";e.exports=function(n,r){return{setTimeout:function(e,t){return n(o).setTimeout(e,t),r.taskCenter.callbackManager.lastCallbackId.toString()},clearTimeout:function(e){n(o).clearTimeout(e)},setInterval:function(e,t){return n(o).setInterval(e,t),r.t askCenter.callbackManager.lastCallbackId.toString()},clearInterval:function(e){n(o).clearInterval(e)},requestAnimationFrame:function(e){return n(o).setTimeout(e,16)},cancelAnimationFrame:function(e){n(o).clearTimeout(e),function(e,t,n){var r=function(){function r(e,t){for(var n=0;nparseInt(o[u])){a=1;break}if(o[u]&&!r[u]&&0":if(1===a)return!0;break;case">=":if(-1!==a)return!0;break;default:if(0===a)return!0}return!1}},e.exports=t.default},function(e,t,n){var r,o=n(14),h=(r=o)&__esModule?r:{default:r};function v(e){if("*"==e)return e;for(var t=(e="string"==typeof e?e:"").split("."),n=0,r=[];n<3;){var o="string"==typeof t[n]&[n]?t[n]:"0";r.push(o),n++}return r.join(".")}function y(e,t,n){var r={isDowngrade:!0,errorType:1,code:1e3},o=e.toLowerCase();return 0<=o.indexOf("osversion")?r.code=1001:0<=o.indexOf("appversion")?r.code=1002:0<=o.indexOf("weexversion")?r.code=1003:0<=o.indexOf("devicemodel")&&(r.code=1004),r.errorMessage="Downgrade["+e+"] :: deviceInfo "+t+" matched criteria "+n,r}e.exports=function(r){return function(e){var t=r("@w eex-module/instanceWrap"),n=function(e){var t={isDowngrade:!1},n=WXEnvironment,r=e[(n.platform||"unknow").toLowerCase()]||{};for(var o in n){var i=o,a=i.toLowerCase(),u=n[o],s=0<=a.indexOf("version"),l=0<=a.indexOf("osversion"),c=0<=a.indexOf("devicemodel"),f=r[o];if(l&&"p"==u.toLowerCase()&&(u="9.0.0"),f&){var d=v(f),p=v(u);if(h.default.satisfies(p,d)){t=y(i,u,f);break}}else if(c&&0<=(Array.isArray(f)?f:[f]).indexOf(u)){t=y(i,u,f);break}}return t}(e);return!!n.isDowngrade&&(t.error(n.errorType,n.code,n.errorMessage),!0)}}},function(e,t,n){var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&===Symbol&!==Symbol.prototype?"symbol":typeof e},l="@weex-module/",c={};e.exports=function(r,a,u){var s="windmill"===a.config.container;return console.log("[Rax] create require function, container: "+a.config.container),function e(i){var t=r[i];if(1>>0)+r+++"__",e&&(this.add,this)};o.prototype.add=function(e){var t=this.name;re turn
[2/6] incubator-weex git commit: [jsfm] upgrade js framework to v0.27.0 (#1321)
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/44a3c412/pre-build/weex-main-jsfm.js -- diff --git a/pre-build/weex-main-jsfm.js b/pre-build/weex-main-jsfm.js index 3b5036b..7604865 100644 --- a/pre-build/weex-main-jsfm.js +++ b/pre-build/weex-main-jsfm.js @@ -1,2 +1,2 @@ -(this.nativeLog||function(e){console.log(e)})("Start JS Framework 0.26.20, Build at 2018-07-11 12:28. (Vue: 2.5.13-weex.5, Rax: 0.4.20)");var global=this,process={env:{}},setTimeout=global.setTimeout;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&?define(t):t()}(0,function(){"use strict";var t,c,r,l;function e(e){return e&__esModule&(e,"default")?e.default:e}function n(e,t){return e(t={exports:{}},t.exports),t.exports}Array.from||(Array.from=(t=Object.prototype.toString,c=function(e){return"function"==typeof e||"[object Function]"===t.call(e)},r=Math.pow(2,53)-1,l=function(e){var t,n=(t=Number(e),isNaN(t)?0:0!==t&(t)?(0o;)_(r,n=t[o++])&&(~H(i,n)||i.push(n));return i}(e,G)},Z={f:Object.getOwnPropertySymbols},Y={f:{}.propertyIsEnumerable},Q=function(e){return Object(F(e))},ee=Object.assign,te=!ee||i(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=ee({},e)[n]||Object.keys(ee({},t)).join("")!=r})?function(e,t){for(var n=arguments,r=Q(e),o=arguments.length,i=1,a=Z.f,s=Y.f;idocument.F=Object<\/script>"),e.close(),ve=e.F;n--;)delete ve[he][G[n]];return ve()},me=Object.create||function(e,t){var n;return null!==e?(de[he]=y(e),n=new de,de[he]=null,n[pe]=e):n=ve(),void 0===t?n:le(n,t)},ye=h.f,ge=re("toStringTag"),_e=function(e,t,n){e&&!_(e=n?e:e.prototype,ge)&(e,ge,{configurable:!0,value:t})},be={};S(be,re("iterator"),function(){return this});var we,ke=z("IE_PROTO"),Se=Object.prototype,Oe=Object.getPrototypeOf||function(e){return e=Q(e),_(e,ke)?e[ke]:"function"==typeof e.constructor& instanceof e.constructor?e.constructor.prototype:e instanceof Object?Se:null},Ce=re("iterator"),xe=!([].keys&&"next"in[].keys()),Ee="values",$e=function(){return this},Ae=function(e,t,n,r,o,i,a){var s,c,l;c=t,l=r,(s=n).prototype=me(be,{next:k(1,l)}),_e(s,c+" Iterator");var u,f,p,d=function(e){if(!xe & in y)return y[e];switch(e){case"keys":case Ee:return function(){return new n(this,e)}}return function(){return new n(this,e)}},h=t+" Iterator",v=o==Ee,m=!1,y=e.prototype,g=y[Ce]||y["@@iterator"]||o&[o],_=g||d(o),b=o?v?d("entries"):_:void 0,w="Array"==t&||g;if(w&&(p=Oe(w.call(new e)))!==Object.prototype&&&(_e(p,h,!0),"function"!=typeof p[Ce]&(p,Ce,$e)),v&&!==Ee&&(m=!0,_=function(){return g.call(this)}),(xe||m||!y[Ce])&(y,Ce,_),ce[t]=_,ce[h]=$e,o)if(u={values:v?_:d(Ee),keys:i?_:d("keys"),entries:b},a)for(f in u)f in y||C(y,f,u[f]);else I(I.P+I.F*(xe||m),t,u);return u},je=(we=!0,function(e,t){var n,r,o=String(F(e)),i=V(t),a=o.length;return i<0||a<=i?we?"":void 0:(n=o.charCodeAt(i))<55296||56319=t.length?{value:void 0,done:!0}:(e=je(t ,n),this._i+=e.length,{value:e,done:!1})});var Ie=re("unscopables"),Me=Array.prototype;null==Me[Ie]&(Me,Ie,{});var Te=function(e){Me[Ie][e]=!0},Pe=function(e,t){return{value:t,done:!!e}},Fe=Ae(Array,"Array",function(e,t){this._t=N(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,Pe(1)):Pe(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values");ce.Arguments=ce.Array,Te("keys"),Te("values"),Te("entries");for(var Ne=re("iterator"),De=re("toStringTag"),Re=ce.Array,Ve={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSh eetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},Je=K(Ve),Le=0;Ler;)n.push(t[r++]);return lt[++ct]=function(){!function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}e.apply(n,t)}("function"==typeof e?e:Function(e),n)},He(ct),ct},it=function(e){delete lt[e]},"process"==T(rt)?He=function(e){rt.nextTick(E(ft,e,1))}:st&?He=function(e){st.now(E(ft,e,1))}:at?(Ge=(Xe=new at).port2,Xe.port1.onmessage=pt,He=E(Ge.postMessage,Ge,1)):v.addEventListener&&"function"==typeof postMessage&&!v.importScripts?(He=function(e){v.postMessage(e+"","*")},v .addEventListener("message",pt,!1)):He=ut in
[5/6] incubator-weex git commit: [jsfm] upgrade js framework to v0.27.0 (#1321)
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/44a3c412/android/sdk/assets/weex-main-jsfm.js -- diff --git a/android/sdk/assets/weex-main-jsfm.js b/android/sdk/assets/weex-main-jsfm.js index 3b5036b..7604865 100644 --- a/android/sdk/assets/weex-main-jsfm.js +++ b/android/sdk/assets/weex-main-jsfm.js @@ -1,2 +1,2 @@ -(this.nativeLog||function(e){console.log(e)})("Start JS Framework 0.26.20, Build at 2018-07-11 12:28. (Vue: 2.5.13-weex.5, Rax: 0.4.20)");var global=this,process={env:{}},setTimeout=global.setTimeout;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&?define(t):t()}(0,function(){"use strict";var t,c,r,l;function e(e){return e&__esModule&(e,"default")?e.default:e}function n(e,t){return e(t={exports:{}},t.exports),t.exports}Array.from||(Array.from=(t=Object.prototype.toString,c=function(e){return"function"==typeof e||"[object Function]"===t.call(e)},r=Math.pow(2,53)-1,l=function(e){var t,n=(t=Number(e),isNaN(t)?0:0!==t&(t)?(0o;)_(r,n=t[o++])&&(~H(i,n)||i.push(n));return i}(e,G)},Z={f:Object.getOwnPropertySymbols},Y={f:{}.propertyIsEnumerable},Q=function(e){return Object(F(e))},ee=Object.assign,te=!ee||i(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=ee({},e)[n]||Object.keys(ee({},t)).join("")!=r})?function(e,t){for(var n=arguments,r=Q(e),o=arguments.length,i=1,a=Z.f,s=Y.f;idocument.F=Object<\/script>"),e.close(),ve=e.F;n--;)delete ve[he][G[n]];return ve()},me=Object.create||function(e,t){var n;return null!==e?(de[he]=y(e),n=new de,de[he]=null,n[pe]=e):n=ve(),void 0===t?n:le(n,t)},ye=h.f,ge=re("toStringTag"),_e=function(e,t,n){e&&!_(e=n?e:e.prototype,ge)&(e,ge,{configurable:!0,value:t})},be={};S(be,re("iterator"),function(){return this});var we,ke=z("IE_PROTO"),Se=Object.prototype,Oe=Object.getPrototypeOf||function(e){return e=Q(e),_(e,ke)?e[ke]:"function"==typeof e.constructor& instanceof e.constructor?e.constructor.prototype:e instanceof Object?Se:null},Ce=re("iterator"),xe=!([].keys&&"next"in[].keys()),Ee="values",$e=function(){return this},Ae=function(e,t,n,r,o,i,a){var s,c,l;c=t,l=r,(s=n).prototype=me(be,{next:k(1,l)}),_e(s,c+" Iterator");var u,f,p,d=function(e){if(!xe & in y)return y[e];switch(e){case"keys":case Ee:return function(){return new n(this,e)}}return function(){return new n(this,e)}},h=t+" Iterator",v=o==Ee,m=!1,y=e.prototype,g=y[Ce]||y["@@iterator"]||o&[o],_=g||d(o),b=o?v?d("entries"):_:void 0,w="Array"==t&||g;if(w&&(p=Oe(w.call(new e)))!==Object.prototype&&&(_e(p,h,!0),"function"!=typeof p[Ce]&(p,Ce,$e)),v&&!==Ee&&(m=!0,_=function(){return g.call(this)}),(xe||m||!y[Ce])&(y,Ce,_),ce[t]=_,ce[h]=$e,o)if(u={values:v?_:d(Ee),keys:i?_:d("keys"),entries:b},a)for(f in u)f in y||C(y,f,u[f]);else I(I.P+I.F*(xe||m),t,u);return u},je=(we=!0,function(e,t){var n,r,o=String(F(e)),i=V(t),a=o.length;return i<0||a<=i?we?"":void 0:(n=o.charCodeAt(i))<55296||56319=t.length?{value:void 0,done:!0}:(e=je(t ,n),this._i+=e.length,{value:e,done:!1})});var Ie=re("unscopables"),Me=Array.prototype;null==Me[Ie]&(Me,Ie,{});var Te=function(e){Me[Ie][e]=!0},Pe=function(e,t){return{value:t,done:!!e}},Fe=Ae(Array,"Array",function(e,t){this._t=N(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,Pe(1)):Pe(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values");ce.Arguments=ce.Array,Te("keys"),Te("values"),Te("entries");for(var Ne=re("iterator"),De=re("toStringTag"),Re=ce.Array,Ve={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSh eetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},Je=K(Ve),Le=0;Ler;)n.push(t[r++]);return lt[++ct]=function(){!function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}e.apply(n,t)}("function"==typeof e?e:Function(e),n)},He(ct),ct},it=function(e){delete lt[e]},"process"==T(rt)?He=function(e){rt.nextTick(E(ft,e,1))}:st&?He=function(e){st.now(E(ft,e,1))}:at?(Ge=(Xe=new at).port2,Xe.port1.onmessage=pt,He=E(Ge.postMessage,Ge,1)):v.addEventListener&&"function"==typeof postMessage&&!v.importScripts?(He=function(e){v.postMessage(e+"","*")},v .addEventListener("message",pt,!1)):He=ut in
[3/6] incubator-weex git commit: [jsfm] upgrade js framework to v0.27.0 (#1321)
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/44a3c412/package.json -- diff --git a/package.json b/package.json index 29847b1..cfe1794 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "weex", "version": "0.12.2", "subversion": { -"framework": "0.26.20", +"framework": "0.27.0", "transformer": ">=0.1.5 <0.5" }, "description": "A framework for building Mobile cross-platform UI",
[4/6] incubator-weex git commit: [jsfm] upgrade js framework to v0.27.0 (#1321)
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/44a3c412/android/sdk/assets/weex-rax-api.js -- diff --git a/android/sdk/assets/weex-rax-api.js b/android/sdk/assets/weex-rax-api.js index cefcb59..fa86891 100644 --- a/android/sdk/assets/weex-rax-api.js +++ b/android/sdk/assets/weex-rax-api.js @@ -1,2 +1,2 @@ -console.log("Prepare Rax APIs 0.4.9, Build at 2018-07-11 12:29.");var global=this,process={env:{}};!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&?define(t):t()}(0,function(){"use strict";var e,t,n=(function(e){e.exports=function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}return o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},o.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},o.n=function(e){var t=e&__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=22)}([function(e,t,n){var r=e.exports.createUniqueKey="undefined"!=typeof Symbol?Symbol:function(e){return"[["+e+"_"+Math.random().toFixed(8).slice(2)+"]]"},o=e.exports.isObject=function (e){return"object"==typeof e&!==e};e.exports.LISTENERS=r("listeners"),e.exports.CAPTURE=1,e.exports.BUBBLE=2,e.exports.ATTRIBUTE=3,e.exports.newNode=function(e,t,n){var r=o(n);return{listener:e,kind:t,once:r&(n.once),passive:r&(n.passive),next:null}}},function(e,t,n){var r=n(0),o=n(9),i=n(8),a=r.isObject,u=r.LISTENERS,s=r.CAPTURE,l=r.BUBBLE,c=r.ATTRIBUTE,f=r.newNode,d=o.defineCustomEventTarget,p=i.createEventWrapper,h=i.STOP_IMMEDIATE_PROPAGATION_FLAG,v=i.PASSIVE_LISTENER_FLAG,y="undefined"!=typeof window& 0!==window.EventTarget,m=e.exports=function e(){var t=arguments;if(!(this instanceof e)){if(1===arguments.length&(arguments[0]))return d(e,arguments[0]);if(0>8-o%1*8)){if(255<(n=r.charCodeAt(o+=.75)))throw new Error("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");t=t<<8|n}return a},e.atob=function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,o=0,i=0,a="";r=t.charAt(i++);~r&&(n=o%4?64*n+r:r,o++%4)?a+=String.fromCharCode(255>>(-2*o&6)):0)r=u.indexOf(r);return a},e}},function(e,t,n){var o="@weex-module/timer";e.exports=function(n,r){return{setTimeout:function(e,t){return n(o).setTimeout(e,t),r.taskCenter.callbackManager.lastCallbackId.toString()},clearTimeout:function(e){n(o).clearTimeout(e)},setInterval:function(e,t){return n(o).setInterval(e,t),r.t askCenter.callbackManager.lastCallbackId.toString()},clearInterval:function(e){n(o).clearInterval(e)},requestAnimationFrame:function(e){return n(o).setTimeout(e,16)},cancelAnimationFrame:function(e){n(o).clearTimeout(e),function(e,t,n){var r=function(){function r(e,t){for(var n=0;nparseInt(o[u])){a=1;break}if(o[u]&&!r[u]&&0":if(1===a)return!0;break;case">=":if(-1!==a)return!0;break;default:if(0===a)return!0}return!1}},e.exports=t.default},function(e,t,n){var r,o=n(14),h=(r=o)&__esModule?r:{default:r};function v(e){if("*"==e)return e;for(var t=(e="string"==typeof e?e:"").split("."),n=0,r=[];n<3;){var o="string"==typeof t[n]&[n]?t[n]:"0";r.push(o),n++}return r.join(".")}function y(e,t,n){var r={isDowngrade:!0,errorType:1,code:1e3},o=e.toLowerCase();return 0<=o.indexOf("osversion")?r.code=1001:0<=o.indexOf("appversion")?r.code=1002:0<=o.indexOf("weexversion")?r.code=1003:0<=o.indexOf("devicemodel")&&(r.code=1004),r.errorMessage="Downgrade["+e+"] :: deviceInfo "+t+" matched criteria "+n,r}e.exports=function(r){return function(e){var t=r("@w eex-module/instanceWrap"),n=function(e){var t={isDowngrade:!1},n=WXEnvironment,r=e[(n.platform||"unknow").toLowerCase()]||{};for(var o in n){var i=o,a=i.toLowerCase(),u=n[o],s=0<=a.indexOf("version"),l=0<=a.indexOf("osversion"),c=0<=a.indexOf("devicemodel"),f=r[o];if(l&&"p"==u.toLowerCase()&&(u="9.0.0"),f&){var d=v(f),p=v(u);if(h.default.satisfies(p,d)){t=y(i,u,f);break}}else if(c&&0<=(Array.isArray(f)?f:[f]).indexOf(u)){t=y(i,u,f);break}}return t}(e);return!!n.isDowngrade&&(t.error(n.errorType,n.code,n.errorMessage),!0)}}},function(e,t,n){var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&===Symbol&!==Symbol.prototype?"symbol":typeof e},l="@weex-module/",c={};e.exports=function(r,a,u){var s="windmill"===a.config.container;return console.log("[Rax] create require function, container: "+a.config.container),function e(i){var t=r[i];if(1>>0)+r+++"__",e&&(this.add,this)};o.prototype.add=function(e){var t=this.name;re turn
[GitHub] incubator-weex pull request #1321: [jsfm] Upgrade js framework to v0.27.0
Github user asfgit closed the pull request at: https://github.com/apache/incubator-weex/pull/1321 ---
[GitHub] incubator-weex issue #1321: [jsfm] Upgrade js framework to v0.27.0
Github user weex-bot commented on the issue: https://github.com/apache/incubator-weex/pull/1321 Messages :book: has no jsfm file changed. :book: jsfm test finished. Generated by :no_entry_sign: http://github.com/danger/danger-js/;>dangerJS ---
[GitHub] incubator-weex pull request #1321: [jsfm] Upgrade js framework to v0.27.0
GitHub user Hanks10100 opened a pull request: https://github.com/apache/incubator-weex/pull/1321 [jsfm] Upgrade js framework to v0.27.0 + Fix package format issue. + Update module whitelist. + Support register modules dynamically. You can merge this pull request into a Git repository by running: $ git pull https://github.com/Hanks10100/incubator-weex jsfm-upgrade-rax Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-weex/pull/1321.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1321 commit 0ed59e27a31927312435d61ae98e43197d1c06e2 Author: Hanks Date: 2018-07-12T02:59:11Z [jsfm] upgrade js framework to v0.27.0 ---
[GitHub] incubator-weex issue #1320: [WEEX-500][iOS] Fix sticky in List will not be r...
Github user weex-bot commented on the issue: https://github.com/apache/incubator-weex/pull/1320 Warnings :warning: No Changelog changes! Messages :book: danger test finished. Generated by :no_entry_sign: http://github.com/danger/danger-js/;>dangerJS ---
[GitHub] incubator-weex pull request #1320: [WEEX-500][iOS] Fix sticky in List will n...
GitHub user caixiaomin opened a pull request: https://github.com/apache/incubator-weex/pull/1320 [WEEX-500][iOS] Fix sticky in List will not be removed in some cases You can merge this pull request into a Git repository by running: $ git pull https://github.com/caixiaomin/incubator-weex FixListStickyIssue Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-weex/pull/1320.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1320 commit 2433f5e12ce14f2190ceb8ca2d1c2e3f36d616d3 Author: Xiaomin Date: 2018-07-11T12:41:37Z [WEEX-500][iOS] Fix Sticky in List will not be removed in some cases ---
[incubator-weex] Git Push Summary
Repository: incubator-weex Updated Tags: refs/tags/0.18.0.1 [created] 7f418d36e
incubator-weex git commit: [WEEX-496][iOS] In CoreText mode, origin of first line is incorret under iOS9 or lower.
Repository: incubator-weex Updated Branches: refs/heads/0.18.0-hotfix 282e5cb35 -> 793a4e219 [WEEX-496][iOS] In CoreText mode, origin of first line is incorret under iOS9 or lower. Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/793a4e21 Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/793a4e21 Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/793a4e21 Branch: refs/heads/0.18.0-hotfix Commit: 793a4e219a7cdee66e3eba30f1a652e4215cd9a8 Parents: 282e5cb Author: ç¥æ¼ Authored: Wed Jul 11 19:56:59 2018 +0800 Committer: Adam Feng Committed: Wed Jul 11 20:34:15 2018 +0800 -- ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/793a4e21/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m -- diff --git a/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m b/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m index 3dcc827..d714b87 100644 --- a/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m +++ b/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m @@ -124,6 +124,8 @@ CGFloat WXTextDefaultLineThroughWidth = 1.2; NSString *_textOverflow; CGFloat _lineHeight; CGFloat _letterSpacing; +CGFloat _fontDescender; +CGFloat _fontAscender; BOOL _truncationLine; // support trunk tail NSAttributedString * _ctAttributedString; @@ -430,6 +432,9 @@ do {\ CTFontRef ctFont = CTFontCreateWithName((__bridge CFStringRef)font.fontName, font.pointSize, NULL); +_fontAscender = font.ascender; +_fontDescender = font.descender; + if (ctFont) { [attributedString addAttribute:(id)kCTFontAttributeName value:(__bridge id)(ctFont) range:NSMakeRange(0, string.length)]; CFRelease(ctFont); @@ -720,6 +725,15 @@ do {\ BOOL needTruncation = NO; CTLineRef ctTruncatedLine = NULL; CTFrameGetLineOrigins(_coreTextFrameRef, CFRangeMake(0, 0), lineOrigins); + +CGFloat fixDescent = 0; +if (lineCount > 0 && _lineHeight && WX_SYS_VERSION_LESS_THAN(@"10.0")) { +CGFloat ascent, descent, leading; +CTLineRef line1 = (CTLineRef)CFArrayGetValueAtIndex(ctLines, 0); +CTLineGetTypographicBounds(line1, , , ); +fixDescent = (descent + _fontDescender) + (ascent - _fontAscender); +} + for (CFIndex lineIndex = 0;(!_lines || _lines > lineIndex) && lineIndex < lineCount; lineIndex ++) { CTLineRef lineRef = NULL; lineRef = CFArrayGetValueAtIndex(ctLines, lineIndex); @@ -728,7 +742,7 @@ do {\ } CGPoint lineOrigin = lineOrigins[lineIndex]; lineOrigin.x += padding.left; -lineOrigin.y -= padding.top; +lineOrigin.y -= padding.top + fixDescent; CFArrayRef runs = CTLineGetGlyphRuns(lineRef); [mutableLines addObject:(__bridge id _Nonnull)(lineRef)]; // lineIndex base 0
[GitHub] incubator-weex issue #1319: [WEEX-496][iOS] In CoreText mode, origin of firs...
Github user weex-bot commented on the issue: https://github.com/apache/incubator-weex/pull/1319 Messages :book: has no jsfm file changed. :book: jsfm test finished. Generated by :no_entry_sign: http://github.com/danger/danger-js/;>dangerJS ---
[GitHub] incubator-weex pull request #1319: [WEEX-496][iOS] In CoreText mode, origin ...
GitHub user wqyfavor opened a pull request: https://github.com/apache/incubator-weex/pull/1319 [WEEX-496][iOS] In CoreText mode, origin of first line is incorret un⦠â¦der iOS9 or lower. First of all, thank you for your contribution! Please makes sure that these checkboxes are checked before submitting your PR, thank you! CheckList: **if** *isBugFix* **:** * [ ] Make sure that you add at least one unit test for the bug which you had fixed. **elif** *isNewFeature* **:** * [ ] Update API docs for the component. * [ ] Update/Add demo to demonstrate new feature. * [ ] Update test scripts for the feature. * [ ] Add unit tests for the feature. You can merge this pull request into a Git repository by running: $ git pull https://github.com/wqyfavor/incubator-weex fix-coretext3 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-weex/pull/1319.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1319 commit a5530ce91f51d707558cb03a2dbc230b4300b4b3 Author: ç¥æ¼ Date: 2018-07-11T11:56:59Z [WEEX-496][iOS] In CoreText mode, origin of first line is incorret under iOS9 or lower. ---
incubator-weex git commit: * [TEST] test for branch push
Repository: incubator-weex Updated Branches: refs/heads/0.18.0-hotfix 70cbe4fa2 -> 282e5cb35 * [TEST] test for branch push Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/282e5cb3 Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/282e5cb3 Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/282e5cb3 Branch: refs/heads/0.18.0-hotfix Commit: 282e5cb35e1540aee5ab4a32f8fe4dedf1f1494e Parents: 70cbe4f Author: Adam Feng Authored: Wed Jul 11 20:28:18 2018 +0800 Committer: Adam Feng Committed: Wed Jul 11 20:28:18 2018 +0800 -- SCRIPTS.md | 3 +++ 1 file changed, 3 insertions(+) -- http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/282e5cb3/SCRIPTS.md -- diff --git a/SCRIPTS.md b/SCRIPTS.md index 684c1fd..7092d28 100644 --- a/SCRIPTS.md +++ b/SCRIPTS.md @@ -15,3 +15,6 @@ There are several scripts for end-user and developer. * `npm run clean`: clean both `examples/build/` and `test/build/`. * `npm run copy`: copy JS framework and examples into Android project. * `npm run lint`, `npm run test`, `npm run cover` and `npm run ci` are something quality assurance. + + +
[incubator-weex] Git Push Summary
Repository: incubator-weex Updated Branches: refs/heads/0.18.0-hotfix [created] 70cbe4fa2
[2/5] incubator-weex git commit: [jsfm] fix the wrong package format in v0.26.20
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/41e24700/pre-build/weex-main-jsfm.js -- diff --git a/pre-build/weex-main-jsfm.js b/pre-build/weex-main-jsfm.js index f169c30..3b5036b 100644 --- a/pre-build/weex-main-jsfm.js +++ b/pre-build/weex-main-jsfm.js @@ -1,2 +1,2 @@ -(this.nativeLog||function(e){console.log(e)})("Start JS Framework 0.26.20, Build at 2018-07-10 15:14. (Vue: 2.5.13-weex.5, Rax: 0.4.20)");var global=this,process={env:{}},setTimeout=global.setTimeout;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("@ali/windmill-weex-vue-plugin/dist/index")):"function"==typeof define&?define(["@ali/windmill-weex-vue-plugin/dist/index"],t):t(e.setupWindmill)}(this,function(e){"use strict";var t,c,r,u;function n(e){return e&__esModule&(e,"default")?e.default:e}function o(e,t){return e(t={exports:{}},t.exports),t.exports}e=e&("default")?e.default:e,Array.from||(Array.from=(t=Object.prototype.toString,c=function(e){return"function"==typeof e||"[object Function]"===t.call(e)},r=Math.pow(2,53)-1,u=function(e){var t,n=(t=Number(e),isNaN(t)?0:0!==t&(t)?(0o;)b(r,n=t[o++])&&(~X(i,n)||i.push(n));return i}(e,K)},Y={f:Object.getOwnPropertySymbols},Q={f:{}.propertyIsEnumerable},ee=function(e){return Object(P(e))},te=Object.assign,ne=!te||a(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=te({},e)[n]||Object.keys(te({},t)).join("")!=r})?function(e,t){for(var n=arguments,r=ee(e),o=arguments.length,i=1,a=Y.f,s=Q.f;idocument.F=Object<\/script>"),e.close(),me=e.F;n--;)delete me[ve][K[n]];return me()},ye=Object.create||function(e,t){var n;return null!==e?(he[ve]=y(e),n=new he,he[ve]=null,n[de]=e):n=me(),void 0===t?n:le(n,t)},ge=g.f,_e=oe("toStringTag"),be=function(e,t,n){e&&!b(e=n?e:e.prototype,_e)&(e,_e,{configurable:!0,value:t})},we={};S(we,oe("iterator"),function(){return this});var ke,Se=H("IE_PROTO"),Ce=Object.prototype,Oe=Object.getPrototypeOf||function(e){return e=ee(e),b(e,Se)?e[Se]:"function"==typeof e.constructor& instanceof e.constructor?e.constructor.prototype:e instanceof Object?Ce:null},xe=oe("iterator"),Ee=!([].keys&&"next"in[].keys()),je="valu es",Ae=function(){return this},$e=function(e,t,n,r,o,i,a){var s,c,u;c=t,u=r,(s=n).prototype=ye(we,{next:k(1,u)}),be(s,c+" Iterator");var l,f,p,d=function(e){if(!Ee& in y)return y[e];switch(e){case"keys":case je:return function(){return new n(this,e)}}return function(){return new n(this,e)}},h=t+" Iterator",v=o==je,m=!1,y=e.prototype,g=y[xe]||y["@@iterator"]||o&[o],_=g||d(o),b=o?v?d("entries"):_:void 0,w="Array"==t&||g;if(w&&(p=Oe(w.call(new e)))!==Object.prototype&&&(be(p,h,!0),"function"!=typeof p[xe]&(p,xe,Ae)),v&&!==je&&(m=!0,_=function(){return g.call(this)}),(Ee||m||!y[xe])&(y,xe,_),ue[t]=_,ue[h]=Ae,o)if(l={values:v?_:d(je),keys:i?_:d("keys"),entries:b},a)for(f in l)f in y||x(y,f,l[f]);else T(T.P+T.F*(Ee||m),t,l);return l},Ie=(ke=!0,function(e,t){var n,r,o=String(P(e)),i=L(t),a=o.length;return i<0||a<=i?ke?"":void 0:(n=o.charCodeAt(i))<55296||56319=t.length?{value:void 0,done:!0}:(e=Ie(t,n),this._i+=e.length,{value:e,done:!1})});var Te=oe("unscopables"),Me=Array.prototype;null==Me[Te]&(Me,Te,{});var Fe=function(e){Me[Te][e]=!0},Ne=function(e,t){return{value:t,done:!!e}},Pe=$e(Array,"Array",function(e,t){this._t=D(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,Ne(1)):Ne(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values");ue.Arguments=ue.Array,Fe("keys"),Fe("values"),Fe("entries");for(var De=oe("iterator"),Re=oe("toStringTag"),Ve=ue.Array,Le={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestLi st:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},Je=Z(Le),Ue=0;Uer;)n.push(t[r++]);return lt[++ut]=function(){!function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}e.apply(n,t)}("function"==typeof e?e:Function(e),n)},Xe(ut),ut},at=function(e){delete lt[e]},"process"==F(ot)?Xe=function(e){ot.nextTick(j(pt,e,1))}:ct&?Xe=function(e){ct.now(j(pt,e,1))}:st?(Ke=(Ge=new st).por t2,Ge.port1.onmessage=dt,Xe=j(Ke.postMessage,Ke,1)):v.addEventListener&&"function"==typeof
[1/5] incubator-weex git commit: [jsfm] fix the wrong package format in v0.26.20
Repository: incubator-weex Updated Branches: refs/heads/master b4816026c -> 41e247000 http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/41e24700/pre-build/weex-rax-api.js -- diff --git a/pre-build/weex-rax-api.js b/pre-build/weex-rax-api.js index d64f00a..cefcb59 100644 --- a/pre-build/weex-rax-api.js +++ b/pre-build/weex-rax-api.js @@ -1,2 +1,2 @@ -console.log("Prepare Rax APIs 0.4.9, Build at 2018-07-10 15:15.");var global=this,process={env:{}};!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&?define(t):t()}(0,function(){"use strict";var e,t,n=(function(e){e.exports=function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}return o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},o.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},o.n=function(e){var t=e&__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=22)}([function(e,t,n){var r=e.exports.createUniqueKey="undefined"!=typeof Symbol?Symbol:function(e){return"[["+e+"_"+Math.random().toFixed(8).slice(2)+"]]"},o=e.exports.isObject=function (e){return"object"==typeof e&!==e};e.exports.LISTENERS=r("listeners"),e.exports.CAPTURE=1,e.exports.BUBBLE=2,e.exports.ATTRIBUTE=3,e.exports.newNode=function(e,t,n){var r=o(n);return{listener:e,kind:t,once:r&(n.once),passive:r&(n.passive),next:null}}},function(e,t,n){var r=n(0),o=n(9),i=n(8),a=r.isObject,u=r.LISTENERS,s=r.CAPTURE,l=r.BUBBLE,c=r.ATTRIBUTE,f=r.newNode,d=o.defineCustomEventTarget,p=i.createEventWrapper,h=i.STOP_IMMEDIATE_PROPAGATION_FLAG,v=i.PASSIVE_LISTENER_FLAG,y="undefined"!=typeof window& 0!==window.EventTarget,m=e.exports=function e(){var t=arguments;if(!(this instanceof e)){if(1===arguments.length&(arguments[0]))return d(e,arguments[0]);if(0>8-o%1*8)){if(255<(n=r.charCodeAt(o+=.75)))throw new Error("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");t=t<<8|n}return a},e.atob=function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,o=0,i=0,a="";r=t.charAt(i++);~r&&(n=o%4?64*n+r:r,o++%4)?a+=String.fromCharCode(255>>(-2*o&6)):0)r=u.indexOf(r);return a},e}},function(e,t,n){var o="@weex-module/timer";e.exports=function(n,r){return{setTimeout:function(e,t){return n(o).setTimeout(e,t),r.taskCenter.callbackManager.lastCallbackId.toString()},clearTimeout:function(e){n(o).clearTimeout(e)},setInterval:function(e,t){return n(o).setInterval(e,t),r.t askCenter.callbackManager.lastCallbackId.toString()},clearInterval:function(e){n(o).clearInterval(e)},requestAnimationFrame:function(e){return n(o).setTimeout(e,16)},cancelAnimationFrame:function(e){n(o).clearTimeout(e),function(e,t,n){var r=function(){function r(e,t){for(var n=0;nparseInt(o[u])){a=1;break}if(o[u]&&!r[u]&&0":if(1===a)return!0;break;case">=":if(-1!==a)return!0;break;default:if(0===a)return!0}return!1}},e.exports=t.default},function(e,t,n){var r,o=n(14),h=(r=o)&__esModule?r:{default:r};function v(e){if("*"==e)return e;for(var t=(e="string"==typeof e?e:"").split("."),n=0,r=[];n<3;){var o="string"==typeof t[n]&[n]?t[n]:"0";r.push(o),n++}return r.join(".")}function y(e,t,n){var r={isDowngrade:!0,errorType:1,code:1e3},o=e.toLowerCase();return 0<=o.indexOf("osversion")?r.code=1001:0<=o.indexOf("appversion")?r.code=1002:0<=o.indexOf("weexversion")?r.code=1003:0<=o.indexOf("devicemodel")&&(r.code=1004),r.errorMessage="Downgrade["+e+"] :: deviceInfo "+t+" matched criteria "+n,r}e.exports=function(r){return function(e){var t=r("@w eex-module/instanceWrap"),n=function(e){var t={isDowngrade:!1},n=WXEnvironment,r=e[(n.platform||"unknow").toLowerCase()]||{};for(var o in n){var i=o,a=i.toLowerCase(),u=n[o],s=0<=a.indexOf("version"),l=0<=a.indexOf("osversion"),c=0<=a.indexOf("devicemodel"),f=r[o];if(l&&"p"==u.toLowerCase()&&(u="9.0.0"),f&){var d=v(f),p=v(u);if(h.default.satisfies(p,d)){t=y(i,u,f);break}}else if(c&&0<=(Array.isArray(f)?f:[f]).indexOf(u)){t=y(i,u,f);break}}return t}(e);return!!n.isDowngrade&&(t.error(n.errorType,n.code,n.errorMessage),!0)}}},function(e,t,n){var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&===Symbol&!==Symbol.prototype?"symbol":typeof e},l="@weex-module/",c={};e.exports=function(r,a,u){var s="windmill"===a.config.container;return console.log("[Rax] create require function, container: "+a.config.container),function e(i){var t=r[i];if(1>>0)+r+++"__",e&&(this.add,this)};o.prototype.add=function(e){var t=this.name;re turn
[3/5] incubator-weex git commit: [jsfm] fix the wrong package format in v0.26.20
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/41e24700/android/sdk/assets/weex-rax-api.js -- diff --git a/android/sdk/assets/weex-rax-api.js b/android/sdk/assets/weex-rax-api.js index d64f00a..cefcb59 100644 --- a/android/sdk/assets/weex-rax-api.js +++ b/android/sdk/assets/weex-rax-api.js @@ -1,2 +1,2 @@ -console.log("Prepare Rax APIs 0.4.9, Build at 2018-07-10 15:15.");var global=this,process={env:{}};!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&?define(t):t()}(0,function(){"use strict";var e,t,n=(function(e){e.exports=function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}return o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},o.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},o.n=function(e){var t=e&__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=22)}([function(e,t,n){var r=e.exports.createUniqueKey="undefined"!=typeof Symbol?Symbol:function(e){return"[["+e+"_"+Math.random().toFixed(8).slice(2)+"]]"},o=e.exports.isObject=function (e){return"object"==typeof e&!==e};e.exports.LISTENERS=r("listeners"),e.exports.CAPTURE=1,e.exports.BUBBLE=2,e.exports.ATTRIBUTE=3,e.exports.newNode=function(e,t,n){var r=o(n);return{listener:e,kind:t,once:r&(n.once),passive:r&(n.passive),next:null}}},function(e,t,n){var r=n(0),o=n(9),i=n(8),a=r.isObject,u=r.LISTENERS,s=r.CAPTURE,l=r.BUBBLE,c=r.ATTRIBUTE,f=r.newNode,d=o.defineCustomEventTarget,p=i.createEventWrapper,h=i.STOP_IMMEDIATE_PROPAGATION_FLAG,v=i.PASSIVE_LISTENER_FLAG,y="undefined"!=typeof window& 0!==window.EventTarget,m=e.exports=function e(){var t=arguments;if(!(this instanceof e)){if(1===arguments.length&(arguments[0]))return d(e,arguments[0]);if(0>8-o%1*8)){if(255<(n=r.charCodeAt(o+=.75)))throw new Error("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");t=t<<8|n}return a},e.atob=function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,o=0,i=0,a="";r=t.charAt(i++);~r&&(n=o%4?64*n+r:r,o++%4)?a+=String.fromCharCode(255>>(-2*o&6)):0)r=u.indexOf(r);return a},e}},function(e,t,n){var o="@weex-module/timer";e.exports=function(n,r){return{setTimeout:function(e,t){return n(o).setTimeout(e,t),r.taskCenter.callbackManager.lastCallbackId.toString()},clearTimeout:function(e){n(o).clearTimeout(e)},setInterval:function(e,t){return n(o).setInterval(e,t),r.t askCenter.callbackManager.lastCallbackId.toString()},clearInterval:function(e){n(o).clearInterval(e)},requestAnimationFrame:function(e){return n(o).setTimeout(e,16)},cancelAnimationFrame:function(e){n(o).clearTimeout(e),function(e,t,n){var r=function(){function r(e,t){for(var n=0;nparseInt(o[u])){a=1;break}if(o[u]&&!r[u]&&0":if(1===a)return!0;break;case">=":if(-1!==a)return!0;break;default:if(0===a)return!0}return!1}},e.exports=t.default},function(e,t,n){var r,o=n(14),h=(r=o)&__esModule?r:{default:r};function v(e){if("*"==e)return e;for(var t=(e="string"==typeof e?e:"").split("."),n=0,r=[];n<3;){var o="string"==typeof t[n]&[n]?t[n]:"0";r.push(o),n++}return r.join(".")}function y(e,t,n){var r={isDowngrade:!0,errorType:1,code:1e3},o=e.toLowerCase();return 0<=o.indexOf("osversion")?r.code=1001:0<=o.indexOf("appversion")?r.code=1002:0<=o.indexOf("weexversion")?r.code=1003:0<=o.indexOf("devicemodel")&&(r.code=1004),r.errorMessage="Downgrade["+e+"] :: deviceInfo "+t+" matched criteria "+n,r}e.exports=function(r){return function(e){var t=r("@w eex-module/instanceWrap"),n=function(e){var t={isDowngrade:!1},n=WXEnvironment,r=e[(n.platform||"unknow").toLowerCase()]||{};for(var o in n){var i=o,a=i.toLowerCase(),u=n[o],s=0<=a.indexOf("version"),l=0<=a.indexOf("osversion"),c=0<=a.indexOf("devicemodel"),f=r[o];if(l&&"p"==u.toLowerCase()&&(u="9.0.0"),f&){var d=v(f),p=v(u);if(h.default.satisfies(p,d)){t=y(i,u,f);break}}else if(c&&0<=(Array.isArray(f)?f:[f]).indexOf(u)){t=y(i,u,f);break}}return t}(e);return!!n.isDowngrade&&(t.error(n.errorType,n.code,n.errorMessage),!0)}}},function(e,t,n){var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&===Symbol&!==Symbol.prototype?"symbol":typeof e},l="@weex-module/",c={};e.exports=function(r,a,u){var s="windmill"===a.config.container;return console.log("[Rax] create require function, container: "+a.config.container),function e(i){var t=r[i];if(1>>0)+r+++"__",e&&(this.add,this)};o.prototype.add=function(e){var t=this.name;re turn
[5/5] incubator-weex git commit: [jsfm] fix the wrong package format in v0.26.20
[jsfm] fix the wrong package format in v0.26.20 Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/41e24700 Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/41e24700 Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/41e24700 Branch: refs/heads/master Commit: 41e2470003c8deaf78ad5a32606143b7022cdd7e Parents: b481602 Author: Hanks Authored: Wed Jul 11 15:44:03 2018 +0800 Committer: Hanks Committed: Wed Jul 11 15:44:03 2018 +0800 -- android/sdk/assets/weex-main-jsfm.js | 2 +- android/sdk/assets/weex-rax-api.js | 2 +- pre-build/weex-main-jsfm.js | 2 +- pre-build/weex-rax-api.js| 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) --
[4/5] incubator-weex git commit: [jsfm] fix the wrong package format in v0.26.20
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/41e24700/android/sdk/assets/weex-main-jsfm.js -- diff --git a/android/sdk/assets/weex-main-jsfm.js b/android/sdk/assets/weex-main-jsfm.js index f169c30..3b5036b 100644 --- a/android/sdk/assets/weex-main-jsfm.js +++ b/android/sdk/assets/weex-main-jsfm.js @@ -1,2 +1,2 @@ -(this.nativeLog||function(e){console.log(e)})("Start JS Framework 0.26.20, Build at 2018-07-10 15:14. (Vue: 2.5.13-weex.5, Rax: 0.4.20)");var global=this,process={env:{}},setTimeout=global.setTimeout;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("@ali/windmill-weex-vue-plugin/dist/index")):"function"==typeof define&?define(["@ali/windmill-weex-vue-plugin/dist/index"],t):t(e.setupWindmill)}(this,function(e){"use strict";var t,c,r,u;function n(e){return e&__esModule&(e,"default")?e.default:e}function o(e,t){return e(t={exports:{}},t.exports),t.exports}e=e&("default")?e.default:e,Array.from||(Array.from=(t=Object.prototype.toString,c=function(e){return"function"==typeof e||"[object Function]"===t.call(e)},r=Math.pow(2,53)-1,u=function(e){var t,n=(t=Number(e),isNaN(t)?0:0!==t&(t)?(0o;)b(r,n=t[o++])&&(~X(i,n)||i.push(n));return i}(e,K)},Y={f:Object.getOwnPropertySymbols},Q={f:{}.propertyIsEnumerable},ee=function(e){return Object(P(e))},te=Object.assign,ne=!te||a(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=te({},e)[n]||Object.keys(te({},t)).join("")!=r})?function(e,t){for(var n=arguments,r=ee(e),o=arguments.length,i=1,a=Y.f,s=Q.f;idocument.F=Object<\/script>"),e.close(),me=e.F;n--;)delete me[ve][K[n]];return me()},ye=Object.create||function(e,t){var n;return null!==e?(he[ve]=y(e),n=new he,he[ve]=null,n[de]=e):n=me(),void 0===t?n:le(n,t)},ge=g.f,_e=oe("toStringTag"),be=function(e,t,n){e&&!b(e=n?e:e.prototype,_e)&(e,_e,{configurable:!0,value:t})},we={};S(we,oe("iterator"),function(){return this});var ke,Se=H("IE_PROTO"),Ce=Object.prototype,Oe=Object.getPrototypeOf||function(e){return e=ee(e),b(e,Se)?e[Se]:"function"==typeof e.constructor& instanceof e.constructor?e.constructor.prototype:e instanceof Object?Ce:null},xe=oe("iterator"),Ee=!([].keys&&"next"in[].keys()),je="valu es",Ae=function(){return this},$e=function(e,t,n,r,o,i,a){var s,c,u;c=t,u=r,(s=n).prototype=ye(we,{next:k(1,u)}),be(s,c+" Iterator");var l,f,p,d=function(e){if(!Ee& in y)return y[e];switch(e){case"keys":case je:return function(){return new n(this,e)}}return function(){return new n(this,e)}},h=t+" Iterator",v=o==je,m=!1,y=e.prototype,g=y[xe]||y["@@iterator"]||o&[o],_=g||d(o),b=o?v?d("entries"):_:void 0,w="Array"==t&||g;if(w&&(p=Oe(w.call(new e)))!==Object.prototype&&&(be(p,h,!0),"function"!=typeof p[xe]&(p,xe,Ae)),v&&!==je&&(m=!0,_=function(){return g.call(this)}),(Ee||m||!y[xe])&(y,xe,_),ue[t]=_,ue[h]=Ae,o)if(l={values:v?_:d(je),keys:i?_:d("keys"),entries:b},a)for(f in l)f in y||x(y,f,l[f]);else T(T.P+T.F*(Ee||m),t,l);return l},Ie=(ke=!0,function(e,t){var n,r,o=String(P(e)),i=L(t),a=o.length;return i<0||a<=i?ke?"":void 0:(n=o.charCodeAt(i))<55296||56319=t.length?{value:void 0,done:!0}:(e=Ie(t,n),this._i+=e.length,{value:e,done:!1})});var Te=oe("unscopables"),Me=Array.prototype;null==Me[Te]&(Me,Te,{});var Fe=function(e){Me[Te][e]=!0},Ne=function(e,t){return{value:t,done:!!e}},Pe=$e(Array,"Array",function(e,t){this._t=D(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,Ne(1)):Ne(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values");ue.Arguments=ue.Array,Fe("keys"),Fe("values"),Fe("entries");for(var De=oe("iterator"),Re=oe("toStringTag"),Ve=ue.Array,Le={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestLi st:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},Je=Z(Le),Ue=0;Uer;)n.push(t[r++]);return lt[++ut]=function(){!function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}e.apply(n,t)}("function"==typeof e?e:Function(e),n)},Xe(ut),ut},at=function(e){delete lt[e]},"process"==F(ot)?Xe=function(e){ot.nextTick(j(pt,e,1))}:ct&?Xe=function(e){ct.now(j(pt,e,1))}:st?(Ke=(Ge=new st).por t2,Ge.port1.onmessage=dt,Xe=j(Ke.postMessage,Ke,1)):v.addEventListener&&"function"==typeof