Prefer parens around risingEdge transition condition

This commit is contained in:
Tony Garnock-Jones 2016-03-19 14:50:08 -04:00
parent ce0b30dba6
commit b9aa833186
2 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -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