版博士V2.0程序
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 

18 řádky
354 B

  1. 'use strict';
  2. var isValid = require('./borderWidth').isValid;
  3. module.exports.isValid = isValid;
  4. module.exports.definition = {
  5. set: function(v) {
  6. if (isValid(v)) {
  7. this._setProperty('border-top-width', v);
  8. }
  9. },
  10. get: function() {
  11. return this.getPropertyValue('border-top-width');
  12. },
  13. enumerable: true,
  14. configurable: true,
  15. };