Refactor code structure for improved readability and maintainability

This commit is contained in:
2026-02-03 00:13:31 +00:00
parent 46ebe81379
commit 64e3aacf0c
2373 changed files with 904760 additions and 0 deletions

24
client/node_modules/postcss/lib/declaration.js generated vendored Normal file
View File

@@ -0,0 +1,24 @@
'use strict'
let Node = require('./node')
class Declaration extends Node {
get variable() {
return this.prop.startsWith('--') || this.prop[0] === '$'
}
constructor(defaults) {
if (
defaults &&
typeof defaults.value !== 'undefined' &&
typeof defaults.value !== 'string'
) {
defaults = { ...defaults, value: String(defaults.value) }
}
super(defaults)
this.type = 'decl'
}
}
module.exports = Declaration
Declaration.default = Declaration