HEX
Server: Apache
System: Linux ubuntu-s-2vcpu-4gb-amd-sfo3-01-KIT-DIGITAL 6.5.0-44-generic #44-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 7 15:10:09 UTC 2024 x86_64
User: www-data (33)
PHP: 8.2.10-2ubuntu2.2
Disabled: NONE
Upload Files
File: /var/www/html/wordpress-manager/node_modules/tailwindcss/src/value-parser/walk.js
module.exports = function walk(nodes, cb, bubble) {
  var i, max, node, result

  for (i = 0, max = nodes.length; i < max; i += 1) {
    node = nodes[i]
    if (!bubble) {
      result = cb(node, i, nodes)
    }

    if (result !== false && node.type === 'function' && Array.isArray(node.nodes)) {
      walk(node.nodes, cb, bubble)
    }

    if (bubble) {
      cb(node, i, nodes)
    }
  }
}