diff --git a/.eslintrc.js b/.eslintrc.js index 400c528a48c..2093f534fcc 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -92,6 +92,7 @@ module.exports = { 'LibraryMenu': 'writable', 'LinkParser': 'writable', 'LiveTvHelpers': 'writable', + 'Loading': 'writable', 'MetadataEditor': 'writable', 'PlaylistViewer': 'writable', 'UserParentalControlPage': 'writable', diff --git a/src/components/loading/loading.js b/src/components/loading/loading.js index 466173952c8..4aec4e0a044 100644 --- a/src/components/loading/loading.js +++ b/src/components/loading/loading.js @@ -68,7 +68,11 @@ export function hide() { } } -export default { - show: show, - hide: hide +const loading = { + show, + hide }; + +window.Loading = loading; + +export default loading;