Merge pull request #2678 from grafixeyehero/window.global

Access Loading globally
This commit is contained in:
Bill Thornton 2021-06-06 14:17:01 -04:00 committed by GitHub
commit c8fcb9e664
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 3 deletions

View File

@ -93,6 +93,7 @@ module.exports = {
'LibraryMenu': 'writable',
'LinkParser': 'writable',
'LiveTvHelpers': 'writable',
'Loading': 'writable',
'MetadataEditor': 'writable',
'PlaylistViewer': 'writable',
'UserParentalControlPage': 'writable',

View File

@ -68,7 +68,11 @@ export function hide() {
}
}
export default {
show: show,
hide: hide
const loading = {
show,
hide
};
window.Loading = loading;
export default loading;