Skip to content

Commit

Permalink
fix FiltersDownloaderCreator() comment
Browse files Browse the repository at this point in the history
  • Loading branch information
slavaleleka committed Oct 2, 2023
1 parent e6588f7 commit dd94c11
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/filters-downloader-creator.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@
* The utility tool resolves preprocessor directives in filter content.
*
* Directives syntax:
* !#if, !#endif - filters maintainers can use these conditions to supply different rules depending on the ad blocker type.
* condition - just like in some popular programming languages, pre-processor conditions are based on constants declared by ad blockers. Ad blocker authors define on their own what exact constants do they declare.
* !#include - this directive allows to include contents of a specified file into the filter.
* - `!#if`, `!#endif` — filters maintainers can use these conditions to supply different rules
* depending on the ad blocker type.
* - `condition` — just like in some popular programming languages, pre-processor conditions are based on constants
* declared by ad blockers. Ad blocker authors define on their own what exact constants do they declare.
* - `!#include` — this directive allows to include contents of a specified file into the filter.
*
* Condition constants should be declared in FilterCompilerConditionsConstants
*
Expand Down

0 comments on commit dd94c11

Please sign in to comment.