e7c3b1b0e3
no issue - lazy loaded scripts such as the CodeMirror asset used on the Code Injection screen could throw errors such as `TypeError: Cannot set property 'modeOption' of undefined` - this was caused by "loading" promise returned from the `lazyLoader` service returning as soon as the network request finished which can be before the loaded script has been parsed and run meaning any processing occurring after the promise returns could be depending on unloaded code - switched the lazyLoader service's loading mechanism from an ajax fetch to insertion of a `<script>` tag which can have `load` event attached which _will_ return after parsing/loading has completed |
||
---|---|---|
.. | ||
ajax.js | ||
clock.js | ||
config.js | ||
dropdown.js | ||
event-bus.js | ||
feature.js | ||
ghost-paths.js | ||
lazy-loader.js | ||
media-queries.js | ||
notifications.js | ||
resize-detector.js | ||
session.js | ||
settings.js | ||
slug-generator.js | ||
tour.js | ||
ui.js | ||
unsplash.js | ||
upgrade-status.js |