Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeByZach committed Nov 15, 2020
2 parents 3437b5a + 0b80e14 commit 3f4ac5d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions pace.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,9 +367,11 @@
if ((to[key] == null) && typeof from[key] !== 'function') {
if (typeof Object.defineProperty === 'function') {
_results.push(Object.defineProperty(to, key, {
get: function() {
return from.prototype[key];
},
get: (function(key) {
return function() {
return from.prototype[key];
};
})(key),
configurable: true,
enumerable: true
}));
Expand Down
Loading

0 comments on commit 3f4ac5d

Please sign in to comment.