Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
81145 views
1
'use strict';
2
3
var shorthandSetter = require('../parsers').shorthandSetter;
4
var shorthandGetter = require('../parsers').shorthandGetter;
5
var shorthandParser = require('../parsers').shorthandParser;
6
7
var shorthand_for = {
8
'border-right-width': require('./borderRightWidth'),
9
'border-right-style': require('./borderRightStyle'),
10
'border-right-color': require('./borderRightColor')
11
};
12
13
var isValid = function isValid(v) {
14
return shorthandParser(v, shorthand_for) !== undefined;
15
};
16
module.exports.isValid = isValid;
17
18
module.exports.definition = {
19
set: shorthandSetter('border-right', shorthand_for),
20
get: shorthandGetter('border-right', shorthand_for),
21
enumerable: true,
22
configurable: true
23
};
24
25