You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is requested to have out of the box method to support both notations in case media tuple used as a default method.
So ESLMediaRuleList.parse('@mqAlt1 => value1| @mqAlt2 =>value2', '@mq1|@mq2'); or ESLMediaRuleList.parseAuto('@mqAlt1 => value1| @mqAlt2 =>value2', '@mq1|@mq2'); parse first argument as an arrow syntax without default tuple consideration.
Current ESLMediaRuleList.parse is deprecated and available for reimplementation in 5th version
So current parse implementation is not requested to be saved
The result signature is expected to be the following:
/** Alias for parseQuery */parse(query: string): ESLMediaRuleList;/** Alias for parseQuery */parse(query: string,parser: RulePayloadParser): ESLMediaRuleList;/** Parses query considering it tuple or query syntax based on the actual value */parse(query: string,mask: string): ESLMediaRuleList;/** Parses query considering it tuple or query syntax based on the actual value with passed parser for values */parse(query: string,mask: string,parser: RulePayloadParser): ESLMediaRuleList;
USE DEFINITION OF THE ORIGINAL REQUEST AS A VALID AC
The text was updated successfully, but these errors were encountered:
ala-n
changed the title
[🚀esl-maedia-query]: consider out of the box support for esl-media-query-list syntax recognition
[🚀esl-media-query]: consider out of the box support for esl-media-query-list syntax recognition
May 3, 2024
ala-n
changed the title
[🚀esl-media-query]: consider out of the box support for esl-media-query-list syntax recognition
[🚀esl-media-query]: (POC) consider out of the box support for esl-media-query-list syntax recognition
May 6, 2024
Request
As for now we have two syntaxes to declare ESLMediaRuleList:
ESLMediaRuleList.parse('value1|value2', '@mq1|@mq2');
ESLMediaRuleList.parse('@mq1 => value1| @mq2 =>value2');
It is requested to have out of the box method to support both notations in case media tuple used as a default method.
So
ESLMediaRuleList.parse('@mqAlt1 => value1| @mqAlt2 =>value2', '@mq1|@mq2');
orESLMediaRuleList.parseAuto('@mqAlt1 => value1| @mqAlt2 =>value2', '@mq1|@mq2');
parse first argument as an arrow syntax without default tuple consideration.--- Usage Example ----
ACCETANCE CRITERIA
(Updated 16.07.2024)
Current
ESLMediaRuleList.parse
is deprecated and available for reimplementation in 5th versionSo current
parse
implementation is not requested to be savedThe result signature is expected to be the following:
The text was updated successfully, but these errors were encountered: