-
Notifications
You must be signed in to change notification settings - Fork 343
Remove RSVP in favour of native Promise #91
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
Conversation
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
|
I signed it! |
|
CLAs look good, thanks! |
|
Thanks @rolandjitsu! This is awesome. Apologies on not having time to look at this just now. I plan to get to it in the near future though.
I am aware of the out-of-date deps. The JS tooling community moves fast, which is both awesome and a bit daunting. I have a TODO to update all the deps and get the tests running once again. I'll do that before merging your change in.
Yeah this would be a good addition. This library was made before ES6 was the new hotness and the tooling wasn't as good back when I made this. I'll look into this time permitting. |
|
@jwngr If you'd like, I'd be opened to do a little facelift to this lib (update the deps, use ES6, etc.). Unless you already have some ongoing work on it. I plan on using this library and Firebase extensively on one of my projects, so I think it would be time well spent on developing on this lib. As for merging the pull request, I do hope that you will have time within this week to do it, as I cannot use it until RSVP is gone from it. |
|
Feel free to take a crack at updating things. I'm more interested in updating the deps at present rather than using ES6 just yet, but if you can make it work in a backwards-compatible manner, go ahead. And yeah, I plan to look at before the end of this week! |
|
Note that I do actually have a branch which is still not working fully but has started to update dependencies: https://github.com/firebase/geofire-js/tree/jw-update-deps |
|
Great, then I will just try to update the deps and leave the to ES6 update for later. I will take a look at the branch and see if I can start from there. And maybe at some point, when you think it would be best, I could try to do the update to ES6. |
|
Thanks again for the PR and sorry for the slow turnaround. I'm closing this in favor of #93 which gets rid of the RSVP dependency entirely by just using the promise API built into Firebase |
|
@jwngr sounds great 👍 Looking forward to it. |
|
GeoFire |
I was not able to test this as some of the npm deps could not be install, but I am sure that everything should be running properly.
Also, some of the npm packages are deprecated (
gulp-karma), it may be a good idea to update the dev deps and the gulp tasks.It might also be a good idea to start using ES6 and use a simple transpile to ES5 task for creating dist packages.
Implements #84.