Sha256: 9a4f3a2d42277399eed505b7bb0d046b06f7f1b8ea01f5dfafd634084b2bcace
Contents?: true
Size: 548 Bytes
Versions: 20
Compression:
Stored size: 548 Bytes
Contents
'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, };
Version data entries
20 entries across 20 versions & 1 rubygems