-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify passing extra parameters in scriptlets
When scriptlets can receive extra optional paramaters, these will now be passed as pair of extra paramaters in the filter declaration, whereas each pair is a `name, value` instance. As a result, the optional paramaters that can be passed to the `aeld` scriptlet can be passed this way, i.e. no longer need a JSON approach, example: github.com##+js(aeld, click, , log, 1) github.com##+js(aeld, , , runAt, idle, log, 1) The non-optional paramaters are always positional, after which the optional paramaters are non-positional pairs of values.
- Loading branch information
Showing
1 changed file
with
55 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters