mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 09:15:35 +00:00
Bug 1213620 - Expose DownloadsButton to the global scope for addon-compat. r=gijs
This commit is contained in:
parent
cfa915817b
commit
e8fcc4d761
@ -181,6 +181,12 @@ const DownloadsButton = {
|
||||
}
|
||||
};
|
||||
|
||||
Object.defineProperty(this, "DownloadsButton", {
|
||||
value: DownloadsButton,
|
||||
enumerable: true,
|
||||
writable: false
|
||||
});
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
//// DownloadsIndicatorView
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user