source:
frontend/node_modules/cssstyle/lib/utils/getBasicPropertyDescriptor.js
| Last change on this file was 9af201e, checked in by , 12 days ago | |
|---|---|
|
|
| File size: 276 bytes | |
| Line | |
|---|---|
| 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 | }; |
Note:
See TracBrowser
for help on using the repository browser.
