Skip to content

Commit b3847b5

Browse files
committed
Merge branch 'upstream_master' into test
# Conflicts: # README.md # pace.coffee # pace.js # pace.min.js
2 parents 6ed323f + 85236e7 commit b3847b5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

pace.js

Lines changed: 4 additions & 2 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() {
370+
get: (function(key) {
371+
return function() {
371372
return from.prototype[key];
372-
},
373+
};
374+
})(key),
373375
configurable: true,
374376
enumerable: true
375377
}));

0 commit comments

Comments
 (0)