mirror of
https://github.com/actions/setup-python.git
synced 2025-06-29 06:03:49 +00:00
Fix.
This commit is contained in:
parent
7fe1ba03a3
commit
ec0a863019
7020 changed files with 1880198 additions and 489 deletions
33
node_modules/cssstyle/lib/properties/fontWeight.js
generated
vendored
Normal file
33
node_modules/cssstyle/lib/properties/fontWeight.js
generated
vendored
Normal file
|
@ -0,0 +1,33 @@
|
|||
'use strict';
|
||||
|
||||
var valid_weights = [
|
||||
'normal',
|
||||
'bold',
|
||||
'bolder',
|
||||
'lighter',
|
||||
'100',
|
||||
'200',
|
||||
'300',
|
||||
'400',
|
||||
'500',
|
||||
'600',
|
||||
'700',
|
||||
'800',
|
||||
'900',
|
||||
'inherit',
|
||||
];
|
||||
|
||||
module.exports.isValid = function isValid(v) {
|
||||
return valid_weights.indexOf(v.toLowerCase()) !== -1;
|
||||
};
|
||||
|
||||
module.exports.definition = {
|
||||
set: function(v) {
|
||||
this._setProperty('font-weight', v);
|
||||
},
|
||||
get: function() {
|
||||
return this.getPropertyValue('font-weight');
|
||||
},
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue