Plugins: expose rxjs matching 6.4.0 (#17148)

* expose rxjs

* remove super old observable export
This commit is contained in:
Ryan McKinley 2019-05-18 08:31:25 -07:00 committed by GitHub
parent 0d34dfc775
commit ae1df1cf89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,