diff options
Diffstat (limited to 'school/node_modules/cssstyle/lib/properties/borderTopStyle.js')
-rw-r--r-- | school/node_modules/cssstyle/lib/properties/borderTopStyle.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/school/node_modules/cssstyle/lib/properties/borderTopStyle.js b/school/node_modules/cssstyle/lib/properties/borderTopStyle.js deleted file mode 100644 index 938ea40..0000000 --- a/school/node_modules/cssstyle/lib/properties/borderTopStyle.js +++ /dev/null @@ -1,21 +0,0 @@ -'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-top-width'); - } - this._setProperty('border-top-style', v); - } - }, - get: function() { - return this.getPropertyValue('border-top-style'); - }, - enumerable: true, - configurable: true, -}; |