debian-mirror-gitlab/spec/frontend/helpers/wait_for_promises.js

2 lines
77 B
JavaScript
Raw Normal View History

2019-07-07 11:18:12 +05:30
export default () => new Promise(resolve => requestAnimationFrame(resolve));