-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-factor extra args for
set-constant
scriptlet
To prepare for better compatibility with AdGuard's own `set-constant` scriptlet. The 3rd position parameter which dictates how to set the value has been converted into a vararg paramater, as follow: ..., as, function ..., as, callback ..., as, resolved ..., as, rejected Similarly, the parameter used to dictate when the scriptlet should become effective is now to be used as a vararg: ..., runAt, load Related issue: uBlockOrigin/uBlock-issues#2783 Ideally, AdGuard would support its `stack` parameter as a vararg, to be discussed.
- Loading branch information
Showing
1 changed file
with
14 additions
and
25 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