These are chat archives for opal/opal

28th
Jan 2017
Bernhard Weichel
@bwl21
Jan 28 2017 12:05 UTC
In my next task i will convert to the new Dropbox-API v2. The Javascript library uses ES6 promises. is there some recommendation out how to use this in opal?
Jamie Gaskins
@jgaskins
Jan 28 2017 18:46 UTC
@bwl21 bowser has clearwater-rb/bowser#5. Since ServiceWorkers depend heavily on native promises, that branch has a class that wraps them directly and aims to be able to be used in their place in JS code. I've been waiting to merge that branch until more people were able to give feedback on ServiceWorker stuff, but I can probably go ahead with it, tbh, since it doesn't change any existing functionality.