Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: ' -> "

...

Code Block
languagejavascript
themeConfluence
raise explicit event '"foo'"
   with a = "hello"
   and b = 4 + x;

...

Info
titleEngine Compatibility

In the node pico engine, the modifier clause has this form (note, no "and"):

with <var> = <expr> [ <var> = <expr> ]*

making the example

raise explicit event '"foo'"

with a = "hello"

b = 4 + x

...

Code Block
languagejavascript
themeConfluence
raise explicit event '"foo' "
  attributes event:attrs()

This raises the event explicit:foo with all of the attributes that were passed into the enclosing rule.

...

Code Block
languagejavascript
themeConfluence
raise explicit event '"foo'"
   with a = "hello"
   and b = 4 + x
   and _api = "sky";

In the (Classic) Blue Event API, explicit events will be raised to the current ruleset unless a ruleset or an array of rulesets is specified using the for clause.

...

Code Block
languagejavascript
themeConfluence
raise explicit event '"foo'"
  with a = "hello"
   and b = 4 + x
 if (flipper eq "two");

...