Merge pull request #2678 from grafixeyehero/window.global
Access Loading globally
(cherry picked from commit c8fcb9e664)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
committed by
Joshua M. Boniface
parent
f2cbfbb549
commit
575766b8e8
@@ -92,6 +92,7 @@ module.exports = {
|
||||
'LibraryMenu': 'writable',
|
||||
'LinkParser': 'writable',
|
||||
'LiveTvHelpers': 'writable',
|
||||
'Loading': 'writable',
|
||||
'MetadataEditor': 'writable',
|
||||
'PlaylistViewer': 'writable',
|
||||
'UserParentalControlPage': 'writable',
|
||||
|
||||
@@ -68,7 +68,11 @@ export function hide() {
|
||||
}
|
||||
}
|
||||
|
||||
export default {
|
||||
show: show,
|
||||
hide: hide
|
||||
const loading = {
|
||||
show,
|
||||
hide
|
||||
};
|
||||
|
||||
window.Loading = loading;
|
||||
|
||||
export default loading;
|
||||
|
||||
Reference in New Issue
Block a user