Skip to content

Commit 3f4ac5d

Browse files
committed
Merge branch 'dev'
2 parents 3437b5a + 0b80e14 commit 3f4ac5d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

pace.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -367,9 +367,11 @@
367367
if ((to[key] == null) && typeof from[key] !== 'function') {
368368
if (typeof Object.defineProperty === 'function') {
369369
_results.push(Object.defineProperty(to, key, {
370-
get: function() {
371-
return from.prototype[key];
372-
},
370+
get: (function(key) {
371+
return function() {
372+
return from.prototype[key];
373+
};
374+
})(key),
373375
configurable: true,
374376
enumerable: true
375377
}));

0 commit comments

Comments
 (0)