Nexmo / nexmo-oas-renderer

Render your API references, Nexmo-style!
https://developer.nexmo.com/api
MIT License
45 stars 4 forks source link

Check for oas-wrapper existence once the DOM has loaded #83

Closed mheap closed 4 years ago

mheap commented 4 years ago

The existing check works on a standalone OAS renderer as the page initialises quickly. In production there is a race condition where the check runs before the page is initialised, leading to the JS not being executed