Uname: Linux webm016.cluster127.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software: Apache
PHP version: 7.4.33 [ PHP INFO ] PHP os: Linux
Server Ip: 54.36.31.145
Your Ip: 216.73.216.182
User: homesquasz (91404) | Group: users (100)
Safe Mode: OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl

name : eachRoot.js
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = _default;

/**
 * Executes a provided function once for each CSS block element.
 *
 * @param {Root|Document} root - root element of file.
 * @param {function} cb - Function to execute for each CSS block element
 */
function _default(root, cb) {
  // class `Document` is a part of `postcss-html`,
  // It is collection of roots in HTML File.
  // See: https://github.com/gucong3000/postcss-html/blob/master/lib/document.js
  if (root.constructor.name === "Document") {
    root.nodes.forEach(cb);
  } else {
    cb(root);
  }
}
© 2026 GrazzMean