mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 02:59:27 +03:00
Change arrow function to an IE11 compatible function
Imports https://github.com/api-platform/core/pull/2899 and fixes https://github.com/nelmio/NelmioApiDocBundle/issues/1517
This commit is contained in:
parent
2a78b42a94
commit
5e8f7290e8
@ -5,7 +5,7 @@
|
||||
// For the full copyright and license information, please view the LICENSE
|
||||
// file that was distributed with this source code.
|
||||
|
||||
window.onload = () => {
|
||||
window.onload = function() {
|
||||
const data = JSON.parse(document.getElementById('swagger-data').innerText);
|
||||
const ui = SwaggerUIBundle({
|
||||
spec: data.spec,
|
||||
|
Loading…
x
Reference in New Issue
Block a user