mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Plugins: expose rxjs matching 6.4.0 (#17148)
* expose rxjs * remove super old observable export
This commit is contained in:
parent
0d34dfc775
commit
ae1df1cf89
@ -75,6 +75,10 @@ exposeToPlugin('angular', angular);
|
|||||||
exposeToPlugin('d3', d3);
|
exposeToPlugin('d3', d3);
|
||||||
exposeToPlugin('rxjs/Subject', Subject);
|
exposeToPlugin('rxjs/Subject', Subject);
|
||||||
exposeToPlugin('rxjs/Observable', Observable);
|
exposeToPlugin('rxjs/Observable', Observable);
|
||||||
|
exposeToPlugin('rxjs', {
|
||||||
|
Subject: Subject,
|
||||||
|
Observable: Observable,
|
||||||
|
});
|
||||||
|
|
||||||
// Experimental modules
|
// Experimental modules
|
||||||
exposeToPlugin('prismjs', prismjs);
|
exposeToPlugin('prismjs', prismjs);
|
||||||
@ -84,12 +88,6 @@ exposeToPlugin('slate-plain-serializer', slatePlain);
|
|||||||
exposeToPlugin('react', react);
|
exposeToPlugin('react', react);
|
||||||
exposeToPlugin('react-dom', reactDom);
|
exposeToPlugin('react-dom', reactDom);
|
||||||
|
|
||||||
// backward compatible path
|
|
||||||
exposeToPlugin('vendor/npm/rxjs/Rx', {
|
|
||||||
Subject: Subject,
|
|
||||||
Observable: Observable,
|
|
||||||
});
|
|
||||||
|
|
||||||
exposeToPlugin('app/features/dashboard/impression_store', {
|
exposeToPlugin('app/features/dashboard/impression_store', {
|
||||||
impressions: impressionSrv,
|
impressions: impressionSrv,
|
||||||
__esModule: true,
|
__esModule: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user