Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Convert getProducts() to a promise (bug 1143195) #91

Merged
merged 1 commit into from Mar 18, 2015

Conversation

kumar303
Copy link
Contributor

@muffinresearch r?

I found out that one of our partners is already invested in fxpay so I figured supporting the old callback interface is a good idea. It wasn't too much extra code.

var settings = fxpay.getattr('settings');
settings.log.warn(
msg + '. This was deprecated in ' + versionDeprecated + '. ' +
'More info: https://github.com/mozilla/fxpay/releases');
Copy link
Contributor

Choose a reason for hiding this comment

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

Since you got the version you might point to it in the link?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

heh, yeah I suppose that works

@muffinresearch
Copy link
Contributor

r+wc

@kumar303
Copy link
Contributor Author

oops, forgot to update the example app. Done.

kumar303 added a commit that referenced this pull request Mar 18, 2015
Convert getProducts() to a promise (bug 1143195)
@kumar303 kumar303 merged commit 0c76c62 into mozilla:master Mar 18, 2015
@kumar303 kumar303 deleted the promised-products branch March 18, 2015 14:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants