ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 3.133.132.82 Web Server : Apache System : Linux vps64074.inmotionhosting.com 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : nicngo5 ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/nicngo5/funds.upgrade.nicn.gov.ng/funds-upgraded/node_modules/stylehacks/dist/ |
Upload File : |
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = plugin; function plugin(targets, nodeTypes, detect) { class Plugin { constructor(result) { this.nodes = []; this.result = result; this.targets = targets; this.nodeTypes = nodeTypes; } push(node, metadata) { node._stylehacks = Object.assign({}, metadata, { message: `Bad ${metadata.identifier}: ${metadata.hack}`, browsers: this.targets }); this.nodes.push(node); } any(node) { if (~this.nodeTypes.indexOf(node.type)) { detect.apply(this, arguments); return !!node._stylehacks; } return false; } detectAndResolve(...args) { this.nodes = []; detect.apply(this, args); return this.resolve(); } detectAndWarn(...args) { this.nodes = []; detect.apply(this, args); return this.warn(); } resolve() { return this.nodes.forEach(node => node.remove()); } warn() { return this.nodes.forEach(node => { const { message, browsers, identifier, hack } = node._stylehacks; return node.warn(this.result, message, { browsers, identifier, hack }); }); } } return Plugin; } module.exports = exports.default;