Sha256: c311bb59eb5e825f73b4489ca4f014696d0d81ddc1af81f8b26dced86f2939df
Contents?: true
Size: 522 Bytes
Versions: 6
Compression:
Stored size: 522 Bytes
Contents
'use strict'; var parseMeasurement = require('../parsers').parseMeasurement; function parse(v) { if (String(v).toLowerCase() === 'auto') { return 'auto'; } if (String(v).toLowerCase() === 'inherit') { return 'inherit'; } return parseMeasurement(v); } module.exports.definition = { set: function (v) { this._setProperty('width', parse(v)); }, get: function () { return this.getPropertyValue('width'); }, enumerable: true, configurable: true };
Version data entries
6 entries across 5 versions & 4 rubygems