Sha256: 057f9dc37c718f53317e6f0b152ab304238dc7a5b9a1ebf5fed33f9cc6a05662

Contents?: true

Size: 475 Bytes

Versions: 26

Compression:

Stored size: 475 Bytes

Contents

'use strict';

var isValid = require('./borderStyle').isValid;
module.exports.isValid = isValid;

module.exports.definition = {
  set: function (v) {
    if (isValid(v)) {
      if (v.toLowerCase() === 'none') {
        v = '';
        this.removeProperty('border-right-width');
      }
      this._setProperty('border-right-style', v);
    }
  },
  get: function () {
    return this.getPropertyValue('border-right-style');
  },
  enumerable: true,
  configurable: true,
};

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
clapton-0.0.6 lib/clapton/javascripts/node_modules/cssstyle/lib/properties/borderRightStyle.js
clapton-0.0.5 lib/clapton/javascripts/node_modules/cssstyle/lib/properties/borderRightStyle.js
clapton-0.0.4 lib/clapton/javascripts/node_modules/cssstyle/lib/properties/borderRightStyle.js
clapton-0.0.3 lib/clapton/javascripts/node_modules/cssstyle/lib/properties/borderRightStyle.js
clapton-0.0.2 lib/clapton/javascripts/node_modules/cssstyle/lib/properties/borderRightStyle.js
clapton-0.0.1 lib/clapton/javascripts/node_modules/cssstyle/lib/properties/borderRightStyle.js