Open muhang opened 9 years ago
Hey none of those really need it, the promise stuff I was talking about is for the chrome api. Check out https://developer.chrome.com/extensions/api_index
The major ones ive run into needing support for are:
https://developer.chrome.com/extensions/tabs https://developer.chrome.com/extensions/bookmarks
but there are many use cases using the others.
In my several years of experience with the chrome extension api, I'm sure the chrome team would love to have a promise style api available. It would probably be easier to write this code inside the ember-cli-chrome addon, but it would be good to make it it's own small repo when the code is mature, and make sure the chrome extension api team knows about it.
I'd love to take a crack at getting this goal implemented, but I was wondering which chrome API calls you were intending to wrap. It seems like it would make sense to wrap:
utilities.disableFingerPrints(app)
utilities.addChromeHelper(app)
utilities.forceHashLocation(app)
This would allow these three calls in the
included
function to be chained. If this sounds good, I'll go ahead and give it a whirl!