/
Mikhail823
/
todo
Обзор
Документация
Войти
/
Mikhail823
/
todo
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
node_modules/cssstyle/lib/properties/borderLeftStyle.js
21 строка
470 B
Mikhail Popov
j
23 фев 2026, 16:12
23 фев 2026, 16:12
ff7232a
Код
Авторство
О чём код?
'use strict'; var isValid = require('./borderStyle').isValid; module.exports.isValid = isValid; module.exports.definition = { set: function(v) { if (isValid(v)) { if (v.toLowerCase() === 'none') { v = ''; this.removeProperty('border-left-width'); } this._setProperty('border-left-style', v); } }, get: function() { return this.getPropertyValue('border-left-style'); }, enumerable: true, configurable: true, };