UNPKG

e-lado

Version:

[![CircleCI](https://circleci.com/gh/sharetribe/sharetribe/tree/master.svg?style=svg)](https://circleci.com/gh/sharetribe/sharetribe/tree/master) [![Dependency Status](https://gemnasium.com/sharetribe/sharetribe.png)](https://gemnasium.com/sharetribe/shar

24 lines (19 loc) 713 B
'use strict'; var shorthandSetter = require('../parsers').shorthandSetter; var shorthandGetter = require('../parsers').shorthandGetter; var shorthandParser = require('../parsers').shorthandParser; var shorthand_for = { 'border-left-width': require('./borderLeftWidth'), 'border-left-style': require('./borderLeftStyle'), 'border-left-color': require('./borderLeftColor') }; var isValid = function isValid(v) { return shorthandParser(v, shorthand_for) !== undefined; }; module.exports.isValid = isValid; module.exports.definition = { set: shorthandSetter('border-left', shorthand_for), get: shorthandGetter('border-left', shorthand_for), enumerable: true, configurable: true };