Skip to content

Commit e672daa

Browse files
authored
Merge pull request #108 from watson/accept-resolve
Rename remaining accept to resolve
2 parents 72fb7fd + c2348ee commit e672daa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,11 +414,11 @@ function wrapPromise() {
414414

415415
function wrappedExecutor(resolve, reject) {
416416
context = this;
417-
args = [wrappedAccept, wrappedReject];
417+
args = [wrappedResolve, wrappedReject];
418418

419419
// These wrappers create a function that can be passed a function and an argument to
420420
// call as a continuation from the resolve or reject.
421-
function wrappedAccept(val) {
421+
function wrappedResolve(val) {
422422
ensureAslWrapper(promise, false);
423423
return resolve(val);
424424
}

0 commit comments

Comments
 (0)