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

Es5 #147

Merged
merged 3 commits into from
Sep 14, 2016
Merged

Es5 #147

merged 3 commits into from
Sep 14, 2016

Conversation

DxCx
Copy link
Contributor

@DxCx DxCx commented Sep 14, 2016

  • Update CHANGELOG.md with your change (include reference to issue & this PR)
  • Make sure all of the significant new logic is covered by tests
  • Rebase your changes on master so that they can be merged easily
  • Make sure all tests and linter rules pass

json: true,
resolveWithFullResponse: true,
private getCSRFAndCookieThen(callback: (csrf: string, cookie: string) => any): Promise<any> {
return new Promise((resolve, reject) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should just be return rp({ ... }).then(...)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not working,
RP is not returning native promises, but Bluebird one,
used this to convert Bluebird to native.
Also, this code will be eliminated soon if i got it right from @helfer

@helfer
Copy link
Contributor

helfer commented Sep 14, 2016

Do we need to add typings for es6-promise as well?

@helfer
Copy link
Contributor

helfer commented Sep 14, 2016

Alright, let's ship it!

@helfer helfer merged commit 06ec060 into ardatan:master Sep 14, 2016
@helfer
Copy link
Contributor

helfer commented Sep 14, 2016

Thanks for the quick turnaround!

@DxCx DxCx deleted the es5 branch September 14, 2016 08:44
@DxCx
Copy link
Contributor Author

DxCx commented Sep 14, 2016

ofcourse :)
regarding es6-promise,
@types/node contains them.

@DxCx
Copy link
Contributor Author

DxCx commented Sep 14, 2016

Closes #146

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants