Prefer parens around risingEdge transition condition
This commit is contained in:
parent
ce0b30dba6
commit
b9aa833186
|
@ -208,7 +208,7 @@ semantics.addAttribute('eventType', {
|
|||
FacetEventPattern_retractedEvent: function(_kw, _pattern) { return 'retracted'; },
|
||||
|
||||
FacetTransitionEventPattern_facetEvent: function (pattern) { return pattern.eventType; },
|
||||
FacetTransitionEventPattern_risingEdge: function (expr) { return 'risingEdge'; }
|
||||
FacetTransitionEventPattern_risingEdge: function (_lp, expr, _rp) { return 'risingEdge'; }
|
||||
});
|
||||
|
||||
function buildSubscription(children, patchMethod, mode) {
|
||||
|
|
|
@ -51,8 +51,8 @@ Syndicate <: ES5 {
|
|||
| retracted FacetPattern -- retractedEvent
|
||||
|
||||
FacetTransitionEventPattern
|
||||
= FacetEventPattern -- facetEvent
|
||||
| Expression<withIn> -- risingEdge
|
||||
= FacetEventPattern -- facetEvent
|
||||
| "(" Expression<withIn> ")" -- risingEdge
|
||||
|
||||
FacetStateTransition
|
||||
= case FacetTransitionEventPattern Block -- withContinuation
|
||||
|
|
Loading…
Reference in New Issue