Skip to content

Blueprint: Use rsvp instead of ember-cli/lib/ext/promise#147

Merged
kimroen merged 2 commits intokimroen:masterfrom
olleolleolle:fix/use-rsvp
Apr 2, 2018
Merged

Blueprint: Use rsvp instead of ember-cli/lib/ext/promise#147
kimroen merged 2 commits intokimroen:masterfrom
olleolleolle:fix/use-rsvp

Conversation

@olleolleolle
Copy link
Copy Markdown
Contributor

@olleolleolle olleolleolle commented Jul 5, 2017

This PR is an attempt to avoid the Deprecation warning

DEPRECATION: `ember-cli/ext/promise` is deprecated, use `rsvp` instead. Required here: 

Fixes #143

Copy link
Copy Markdown
Owner

@kimroen kimroen left a comment

Choose a reason for hiding this comment

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

Just add this dependency, and this should be all good. Thanks a bunch!

@@ -1,5 +1,5 @@
var inflection = require('inflection');
var Promise = require('ember-cli/lib/ext/promise');
var RSVP = require('rsvp');
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

I think we get rsvp through an implicit dependency (probably ember-cli), but we should add it as a dependency directly in package.json.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks, I'll try!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

(And, thanks so much for supporting this thing!)

@kimroen kimroen self-assigned this Sep 5, 2017
@kimroen
Copy link
Copy Markdown
Owner

kimroen commented Sep 5, 2017

Thanks again for this! I'm focusing on getting ember-cli-document-title up and running again after being away for a while, but this addon is up next, so it hopefully won't be too long. There's a ton of improvements left to be made here.

@kimroen kimroen merged commit 98ad0b8 into kimroen:master Apr 2, 2018
kimroen added a commit that referenced this pull request Apr 2, 2018
@olleolleolle olleolleolle deleted the fix/use-rsvp branch April 2, 2018 18:47
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.

2 participants