/ cloudformation-templates / node_modules / cssstyle / lib / utils / getBasicPropertyDescriptor.js
getBasicPropertyDescriptor.js
 1  'use strict';
 2  
 3  module.exports = function getBasicPropertyDescriptor(name) {
 4    return {
 5      set: function(v) {
 6        this._setProperty(name, v);
 7      },
 8      get: function() {
 9        return this.getPropertyValue(name);
10      },
11      enumerable: true,
12      configurable: true,
13    };
14  };