This commit is contained in:
Domen Kožar
2020-02-24 13:29:22 +01:00
parent 033d472283
commit 49df04613e
6774 changed files with 1602535 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
'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,
};
};