This is an automated email from the ASF dual-hosted git repository.
carlosrovira pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/royale-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 8e5d6ff todomvc-jewel: fix a bug where click outside was not working
on sibling renderers due to useCapture not true
8e5d6ff is described below
commit 8e5d6fff5f077e525db0f62f22048896bc34ca02
Author: Carlos Rovira <[email protected]>
AuthorDate: Sat Feb 1 17:19:54 2020 +0100
todomvc-jewel: fix a bug where click outside was not working on sibling
renderers due to useCapture not true
---
todomvc-jewel/App.js | 4 ++--
todomvc-jewel/App.js.map | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/todomvc-jewel/App.js b/todomvc-jewel/App.js
index a9c6f85..976cbf7 100644
--- a/todomvc-jewel/App.js
+++ b/todomvc-jewel/App.js
@@ -677,8 +677,8 @@
xt.prototype.flush=xt.prototype.flush;xt.prototype.clear=function(){this.Uc&&(th
function At(a){a.Vc=window.localStorage;if(!a.Vc&&'undefined'!=typeof
Storage){var
b=window.location.pathname.replace(/(^..)(:)/,'$1$$');window.location.href=window.location.protocol+'//127.0.0.1'+b;a.Vc=window.localStorage}if(!a.Vc)throw
Error('local storage not
supported');if(b=a.Vc.getItem(a.jj+'::'+a.kj))b=Q(window.atob(b)),b=new
Uint8Array(b.split('').map(function(a){return a.charCodeAt(0)>>>0})),a.Uc=(new
Ct(b.buffer)).Ia()}xt.prototype.Kb=function(){this.Uc||(this.Uc={});return
this.Uc};
Object.defineProperties(xt.prototype,{data:{get:xt.prototype.Kb}});xt.prototype.g={names:[{name:'SharedObject',h:be,kind:A}]};xt.prototype.i=function(){return{accessors:function(){return{data:{type:t,access:E,declaredBy:be}}},methods:function(){return{'|getLocal':{type:be,declaredBy:be,parameters:function(){return[u,!1,u,!0,q,!0]}},SharedObject:{type:'',declaredBy:be},flush:{type:u,declaredBy:be,parameters:function(){return[B,!0]}},clear:{type:H,declaredBy:be}}}}};xt.prototype.j=10;funct
[...]
Dt.prototype.i=function(){return{accessors:function(){return{compareFunction:{type:Va,access:F,declaredBy:Ie},fields:{type:p,access:F,declaredBy:Ie},unique:{type:q,access:E,declaredBy:Ie}}},methods:function(){return{findItem:{type:B,declaredBy:Ie,parameters:function(){return[p,!1,t,!1,u,!1,q,!0,Va,!0]}},propertyAffectsSort:{type:q,declaredBy:Ie,parameters:function(){return[u,!1]}},reverse:{type:H,declaredBy:Ie},sort:{type:H,declaredBy:Ie,parameters:function(){return[p,!1]}}}}}};Dt.protot
[...]
-1,nb,!0,'$ID3',0,0,null],0,2,'rollover',this.xa,'rollout',this.Ua])}N(Et,rr);M(Fd,Et);Et.prototype.gj=!1;Et.prototype.Dl=function(a){this.dispatchEvent(new
ns(ud,this.item,null,a.target.selected))};Et.prototype.changeItemState=Et.prototype.Dl;Et.prototype.Qn=function(){window.removeEventListener(Ub,W(this.ie,this,Xb),!1);this.dispatchEvent(new
ns(td,this.item))};Et.prototype.removeItemClickHandler=Et.prototype.Qn;Et.prototype.ho=function(){this.ie()};Et.prototype.updateLabelAndExit=Et.pr
[...]
-Et.prototype.Nl=function(){this.editfield.text=this.description.text;this.currentState='editing';this.destroy_btn.visible=!1;this.editfield.Yn();window.addEventListener(Ub,W(this.ie,this,Xb),!1)};Et.prototype.goToEditMode=Et.prototype.Nl;Et.prototype.ie=function(){window.removeEventListener(Ub,W(this.ie,this,Xb),!1);this.item.label!=this.editfield.text&&this.dispatchEvent(new
ns(sd,this.item,this.editfield.text));this.currentState=he;this.gj&&(this.destroy_btn.visible=!0)};
+1,nb,!0,'$ID3',0,0,null],0,2,'rollover',this.xa,'rollout',this.Ua])}N(Et,rr);M(Fd,Et);Et.prototype.gj=!1;Et.prototype.Dl=function(a){this.dispatchEvent(new
ns(ud,this.item,null,a.target.selected))};Et.prototype.changeItemState=Et.prototype.Dl;Et.prototype.Qn=function(){document.removeEventListener(Ub,W(this.ie,this,Xb),!0);this.dispatchEvent(new
ns(td,this.item))};Et.prototype.removeItemClickHandler=Et.prototype.Qn;Et.prototype.ho=function(){this.ie()};Et.prototype.updateLabelAndExit=Et.
[...]
+Et.prototype.Nl=function(){this.editfield.text=this.description.text;this.currentState='editing';this.destroy_btn.visible=!1;this.editfield.Yn();document.addEventListener(Ub,W(this.ie,this,Xb),!0)};Et.prototype.goToEditMode=Et.prototype.Nl;Et.prototype.ie=function(){document.removeEventListener(Ub,W(this.ie,this,Xb),!0);this.item.label!=this.editfield.text&&this.dispatchEvent(new
ns(sd,this.item,this.editfield.text));this.currentState=he;this.gj&&(this.destroy_btn.visible=!0)};
Et.prototype.commitLabelChanges=Et.prototype.ie;Et.prototype.Tn=function(){this.gj=!0;this.currentState==he&&(this.destroy_btn.visible=!0)};Et.prototype.rollOverHandler=Et.prototype.Tn;Et.prototype.Sn=function(){this.gj=!1;this.currentState==he&&(this.destroy_btn.visible=!1)};Et.prototype.rollOutHandler=Et.prototype.Sn;Et.prototype.Vp=function(){return
P(this.data,Is)};Object.defineProperties(Et.prototype,{item:{get:Et.prototype.Vp}});Et.prototype.xa=function(a){this.Tn(a)};Et.prototype.
[...]
Et.prototype.Ua=function(a){this.Sn(a)};Et.prototype.$EH1=Et.prototype.Ua;Et.prototype.Td=function(a){this.Dl(a)};Et.prototype.$EH2=Et.prototype.Td;Et.prototype.Ud=function(a){this.Nl(a)};Et.prototype.$EH3=Et.prototype.Ud;Et.prototype.rl=function(a){this.ho(a)};Et.prototype.$EH4=Et.prototype.rl;Et.prototype.sl=function(a){this.Qn(a)};Et.prototype.$EH5=Et.prototype.sl;
Object.defineProperties(Et.prototype,{description:{get:K('Il'),set:function(a){a!=this.Il&&(this.Il=a,this.dispatchEvent(Js(this,hc,null,a)))}},editfield:{get:K('Kl'),set:function(a){a!=this.Kl&&(this.Kl=a,this.dispatchEvent(Js(this,kc,null,a)))}},destroy_btn:{get:K('Jl'),set:function(a){a!=this.Jl&&(this.Jl=a,this.dispatchEvent(Js(this,'destroy_btn',null,a)))}},MXMLDescriptor:{get:function(){if(void
0==this.fb){var
a=Et.v.na.apply(this),b=[Gt,3,nb,!0,'$ID4','checkWidth',!0,40,'checkHeig [...]
diff --git a/todomvc-jewel/App.js.map b/todomvc-jewel/App.js.map
index a7cc8d6..fdc9503 100644
--- a/todomvc-jewel/App.js.map
+++ b/todomvc-jewel/App.js.map
@@ -2,7 +2,7 @@
"version":3,
"file":"",
"lineCount":1218,
-"mappings":"AA+BA,IAAA,GAAA,QAAA,CAAA,GAAA,eAAA,CAAA,GAAA,cAAA,CAAA,GAAA,iBAAA,CAAA,EAAA,YAAA,CAAA,GAAA,qBAAA,CAAA,GAAA,oBAAA,CAAA,GAAA,oBAAA,CAAA,GAAA,oBAAA,CAAA,GAAA,oBAAA,CAAA,EAAA,kBAAA,CAAA,EAAA,qBAAA,CAAA,GAAA,oBAAA,CAAA,EAAA,oBAAA,CAAA,EAAA,oBAAA,CAAA,GAAA,6BAAA,CAAA,GAAA,yCAAA,CAAA,GAAA,kCAAA,CAAA,GAAA,yBAAA,CAAA,GAAA,iCAAA;AAAA,GAAA,sCAAA,CAAA,GAAA,4BAAA,CAAA,GAAA,iBAAA,CAAA,GAAA,gBAAA,CAAA,GAAA,oBAAA,CAAA,GAAA,cAAA,CAAA,GAAA,kBAAA,CAAA,GAAA,iCAAA,CAAA,GAAA,wCAAA,CAAA,GAAA,yBAAA
[...]
+"mappings":"AA+BA,IAAA,GAAA,QAAA,CAAA,GAAA,eAAA,CAAA,GAAA,cAAA,CAAA,GAAA,iBAAA,CAAA,EAAA,YAAA,CAAA,GAAA,qBAAA,CAAA,GAAA,oBAAA,CAAA,GAAA,oBAAA,CAAA,GAAA,oBAAA,CAAA,GAAA,oBAAA,CAAA,EAAA,kBAAA,CAAA,EAAA,qBAAA,CAAA,GAAA,oBAAA,CAAA,EAAA,oBAAA,CAAA,EAAA,oBAAA,CAAA,GAAA,6BAAA,CAAA,GAAA,yCAAA,CAAA,GAAA,kCAAA,CAAA,GAAA,yBAAA,CAAA,GAAA,iCAAA;AAAA,GAAA,sCAAA,CAAA,GAAA,4BAAA,CAAA,GAAA,iBAAA,CAAA,GAAA,gBAAA,CAAA,GAAA,oBAAA,CAAA,GAAA,cAAA,CAAA,GAAA,kBAAA,CAAA,GAAA,iCAAA,CAAA,GAAA,wCAAA,CAAA,GAAA,yBAAA
[...]
"sources":["goog/base.js","class
com.google.javascript.jscomp.FunctionRewriter$EmptyFunctionReducer:helper","class
com.google.javascript.jscomp.FunctionRewriter$SetterReducer:helper","class
com.google.javascript.jscomp.FunctionRewriter$GetterReducer:helper","class
com.google.javascript.jscomp.FunctionRewriter$ReturnConstantReducer:helper","
[synthetic:util/defineproperty] "," [synthetic:util/global] ","
[synthetic:util/polyfill] "," [synthetic:es6/string/codepointat] ","
[synthetic:util/ [...]
"names":["$jscomp.defineProperty","$jscomp.global","$jscomp.polyfill","$jscomp.initSymbol","$jscomp.Symbol","$jscomp.SYMBOL_PREFIX","$jscomp.iteratorPrototype","$jscomp.arrayIteratorImpl","$jscomp.initSymbolIterator","$jscomp.makeIterator","$jscomp.owns","$jscomp.assign","goog.global","goog.nullFunction","goog.typeOf","value","s","Array","Object","className","prototype","toString","call","length","splice","propertyIsEnumerable","goog.isObject","val","type","goog.UID_PROPERTY_","Math","ra
[...]
}