pcjs.v1 icon indicating copy to clipboard operation
pcjs.v1 copied to clipboard

Simplify embed/weblib code with Promise and async/await

Open mihailik opened this issue 7 years ago • 1 comments

Those make code way simpler to track and follow, and can be transcoded back to ES5 safely.

mihailik avatar May 22 '18 18:05 mihailik

True, any async code I wrote pre-dates async/await (and probably isn't very well written by today's standards), but as long as it's not broken, it's low on my mental list of priorities. Not to say I wouldn't happily accept rewrites of any old crappy code.

jeffpar avatar May 22 '18 19:05 jeffpar