/
d.gorschkov
/
Apex
Обзор
Документация
Войти
/
d.gorschkov
/
Apex
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
node_modules/postcss/lib/declaration.js
24 строки
495 B
DmitriyGorshkovstar
first_commit
20 янв 2026, 19:38
20 янв 2026, 19:38
21d2719
Код
Авторство
О чём код?
'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