diff --git a/.eslintrc.js b/.eslintrc.js index 10494c1bd9..b684293fa3 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -93,6 +93,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 ed7c2db02b..66b4be421a 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;