Index: src/js/promise-extra.js |
diff --git a/src/js/promise-extra.js b/src/js/promise-extra.js |
index f6f79592bcdee03026340e1c4c97024625b78a57..34d7323604d3d5b451f0da3a4dc66c2df6e0623a 100644 |
--- a/src/js/promise-extra.js |
+++ b/src/js/promise-extra.js |
@@ -11,16 +11,16 @@ |
var GlobalPromise = global.Promise; |
var PromiseChain = utils.ImportNow("PromiseChain"); |
-var PromiseDeferred = utils.ImportNow("PromiseDeferred"); |
-var PromiseResolved = utils.ImportNow("PromiseResolved"); |
+var PromiseDefer = utils.ImportNow("PromiseDefer"); |
+var PromiseAccept = utils.ImportNow("PromiseAccept"); |
utils.InstallFunctions(GlobalPromise.prototype, DONT_ENUM, [ |
"chain", PromiseChain, |
]); |
utils.InstallFunctions(GlobalPromise, DONT_ENUM, [ |
- "defer", PromiseDeferred, |
- "accept", PromiseResolved, |
+ "defer", PromiseDefer, |
+ "accept", PromiseAccept, |
]); |
}) |