Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/jiff_delivery/node_modules/webpack-rtl-plugin/node_modules/rtlcss/test/data/ drwxrwxrwx | |
| Viewing file: Select action/file-type: module.exports = [
{
'should': 'Should support plugins',
'expected': 'div:before { content: "ABC";} div:after { content: "B";}',
'input': 'div:before { content: "A";} div:after { content: "B";}',
'reversable': true,
'plugins': [
{
'name': 'test',
'directives': {
'control': {},
'value': []
},
'processors': [
{
'name': 'content',
'expr': /content/im,
'action': function (prop, value, cxt) {
if (value === '"A"') {
return { 'prop': prop, 'value': '"ABC"' }
} else if (value === '"ABC"') {
return { 'prop': prop, 'value': '"A"' }
}
return { 'prop': prop, 'value': value }
}
}
]
}
]
},
{
'should': 'Should allow overriding default plugin',
'expected': 'div { text-align:right;}',
'input': 'div { text-align:right;}',
'plugins': [
{
'name': 'rtlcss',
'directives': {
'control': {},
'value': []
},
'processors': []
}
]
}
]
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0489 ]-- |