BLUE
PHP 7.4.33
Path:
/var/www/cvr-leads.bitkit.dk/httpdocs/node_modules/postcss-ordered-values/src/lib
Run
Logout
Edit File
Size: 876 B
Close
/var/www/cvr-leads.bitkit.dk/httpdocs/node_modules/postcss-ordered-values/src/lib/getValue.js
Text
Base64
'use strict'; const { stringify } = require('postcss-value-parser'); /** * @param {import('postcss-value-parser').Node[][]} values * @return {string} */ module.exports = function getValue(values) { return stringify(flatten(values)); }; /** * @param {import('postcss-value-parser').Node[][]} values * @return {import('postcss-value-parser').Node[]} */ function flatten(values) { /** @type {import('postcss-value-parser').Node[]} */ const nodes = []; for (const [index, arg] of values.entries()) { arg.forEach((val, idx) => { if ( idx === arg.length - 1 && index === values.length - 1 && val.type === 'space' ) { return; } nodes.push(val); }); if (index !== values.length - 1) { nodes[nodes.length - 1].type = 'div'; nodes[nodes.length - 1].value = ','; } } return nodes; }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 5
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
addSpace.js
221 B
lrw-r--r--
2025-03-11 10:11:49
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
getValue.js
876 B
lrw-r--r--
2025-03-11 10:11:49
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
joinGridValue.js
151 B
lrw-r--r--
2025-03-11 10:11:49
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
mathfunctions.js
123 B
lrw-r--r--
2025-03-11 10:11:49
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
vendorUnprefixed.js
175 B
lrw-r--r--
2025-03-11 10:11:49
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).