Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix replace call for 6+ arguments to call #232

Merged
merged 1 commit into from
Jun 15, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions browser/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -6932,7 +6932,7 @@ function makeNodePromisifiedEval(callback, receiver, originalName, fn, suffix) {
args[i] = fn; \n\
[CodeForCall] \n\
break; \n\
".replace(/"[CodeForCall]"/, codeForCall);
".replace("[CodeForCall]", codeForCall);
return ret;
}

Expand Down Expand Up @@ -31471,4 +31471,4 @@ describe("when.spread-test", function () {
});

},{"../../js/debug/bluebird.js":21,"assert":2}]},{},[17])
;
;
4 changes: 2 additions & 2 deletions js/browser/bluebird.js
Original file line number Diff line number Diff line change
Expand Up @@ -3486,7 +3486,7 @@ function makeNodePromisifiedEval(callback, receiver, originalName, fn, suffix) {
args[i] = fn; \n\
[CodeForCall] \n\
break; \n\
".replace(/"[CodeForCall]"/, codeForCall);
".replace("[CodeForCall]", codeForCall);
return ret;
}

Expand Down Expand Up @@ -5120,4 +5120,4 @@ module.exports = ret;
},{"./es5.js":12}]},{},[3])
(3)
});
;
;
2 changes: 1 addition & 1 deletion src/promisify.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ function makeNodePromisifiedEval(callback, receiver, originalName, fn, suffix) {
args[i] = fn; \n\
[CodeForCall] \n\
break; \n\
".replace(/"[CodeForCall]"/, codeForCall);
".replace("[CodeForCall]", codeForCall);
return ret;
}

Expand Down