This app provides monitoring and information features for the common freifunk user and the technical stuff of a freifunk community.
Code base is taken from a TUM Practical Course project and added here to see if Freifunk Altdorf can use it.
https://www.freifunk-altdorf.de
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
713 B
23 lines
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 |
|
};
|
|
|