Bug 1213620 - Expose DownloadsButton to the global scope for addon-compat. r=gijs

This commit is contained in:
Matthew Turnbull 2015-10-11 14:35:00 +02:00
Родитель cfa915817b
Коммит e8fcc4d761
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -181,6 +181,12 @@ const DownloadsButton = {
}
};
Object.defineProperty(this, "DownloadsButton", {
value: DownloadsButton,
enumerable: true,
writable: false
});
////////////////////////////////////////////////////////////////////////////////
//// DownloadsIndicatorView