зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1213620 - Expose DownloadsButton to the global scope for addon-compat. r=gijs
This commit is contained in:
Родитель
cfa915817b
Коммит
e8fcc4d761
|
@ -181,6 +181,12 @@ const DownloadsButton = {
|
|||
}
|
||||
};
|
||||
|
||||
Object.defineProperty(this, "DownloadsButton", {
|
||||
value: DownloadsButton,
|
||||
enumerable: true,
|
||||
writable: false
|
||||
});
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
//// DownloadsIndicatorView
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче