mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-21 05:24:45 +00:00
.
This commit is contained in:
parent
fc725ba36b
commit
422b9fdb15
7395 changed files with 1786235 additions and 3476 deletions
19
node_modules/cssstyle/lib/properties/flexShrink.js
generated
vendored
Normal file
19
node_modules/cssstyle/lib/properties/flexShrink.js
generated
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
'use strict';
|
||||
|
||||
var parseNumber = require('../parsers').parseNumber;
|
||||
var POSITION_AT_SHORTHAND = require('../constants').POSITION_AT_SHORTHAND;
|
||||
|
||||
module.exports.isValid = function isValid(v, positionAtFlexShorthand) {
|
||||
return parseNumber(v) !== undefined && positionAtFlexShorthand === POSITION_AT_SHORTHAND.second;
|
||||
};
|
||||
|
||||
module.exports.definition = {
|
||||
set: function(v) {
|
||||
this._setProperty('flex-shrink', parseNumber(v));
|
||||
},
|
||||
get: function() {
|
||||
return this.getPropertyValue('flex-shrink');
|
||||
},
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue