Index: src/js/promise.js |
diff --git a/src/js/promise.js b/src/js/promise.js |
index a8553dd605fe65c13ce267225b402b274ad59fe4..2f129d8ed19beaf1f7ca5ad4a7e12cc72cb40464 100644 |
--- a/src/js/promise.js |
+++ b/src/js/promise.js |
@@ -388,7 +388,7 @@ |
%SetCode(GlobalPromise.prototype.catch, PromiseCatch); |
%InstallToContext([ |
- "promise_catch", GlobalPromise.prototype.catch, |
+ "promise_catch", PromiseCatch, |
"promise_create", PromiseCreate, |
"promise_has_user_defined_reject_handler", PromiseHasUserDefinedRejectHandler, |
"promise_reject", DoRejectPromise, |