Files
julia-buildpkg/node_modules/cssstyle/lib/utils/getBasicPropertyDescriptor.js
David Anthoff c0c6ce37ca Add node deps
2019-09-14 21:05:22 -07:00

15 lines
276 B
JavaScript

'use strict';
module.exports = function getBasicPropertyDescriptor(name) {
return {
set: function(v) {
this._setProperty(name, v);
},
get: function() {
return this.getPropertyValue(name);
},
enumerable: true,
configurable: true,
};
};