mirror of
https://github.com/grafana/grafana.git
synced 2025-01-26 16:27:02 -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('rxjs/Subject', Subject);
|
||||
exposeToPlugin('rxjs/Observable', Observable);
|
||||
exposeToPlugin('rxjs', {
|
||||
Subject: Subject,
|
||||
Observable: Observable,
|
||||
});
|
||||
|
||||
// Experimental modules
|
||||
exposeToPlugin('prismjs', prismjs);
|
||||
@ -84,12 +88,6 @@ exposeToPlugin('slate-plain-serializer', slatePlain);
|
||||
exposeToPlugin('react', react);
|
||||
exposeToPlugin('react-dom', reactDom);
|
||||
|
||||
// backward compatible path
|
||||
exposeToPlugin('vendor/npm/rxjs/Rx', {
|
||||
Subject: Subject,
|
||||
Observable: Observable,
|
||||
});
|
||||
|
||||
exposeToPlugin('app/features/dashboard/impression_store', {
|
||||
impressions: impressionSrv,
|
||||
__esModule: true,
|
||||
|
Loading…
Reference in New Issue
Block a user