mirror of
https://github.com/azure/setup-kubectl.git
synced 2026-12-05 20:11:53 +00:00
Add node modules and compiled JavaScript from main (#57)
Co-authored-by: Oliver King <oking3@uncc.edu>
This commit is contained in:
committed by
GitHub
parent
d893f27da9
commit
7f7e5ba5ea
+12
@@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function dataProperties(klass, properties) {
|
||||
properties.forEach(p => {
|
||||
Object.defineProperty(klass.prototype, p, {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return this.data[p];
|
||||
}
|
||||
});
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user