-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Is your feature request related to a problem? Please describe.
Currently all events, functions, etc require a trigger: section to execute the code.
Even if the trigger: section is the only member, it's still required.
Describe the solution you'd like
Make trigger: implicit if there are no other members.
Example:
on load:
trigger:
print "hello"
Would become:
on load:
print "hello"
Describe alternatives you've considered
I've thought about making a preprocessor to automatically generate trigger: sections when needed.
Metadata
Metadata
Assignees
Labels
No labels