mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
plugins: added backward compatible path for rxjs
This commit is contained in:
parent
bf680acae5
commit
01f16ece3e
@ -64,16 +64,21 @@ exposeToPlugin('lodash', _);
|
|||||||
exposeToPlugin('moment', moment);
|
exposeToPlugin('moment', moment);
|
||||||
exposeToPlugin('jquery', jquery);
|
exposeToPlugin('jquery', jquery);
|
||||||
exposeToPlugin('angular', angular);
|
exposeToPlugin('angular', angular);
|
||||||
|
exposeToPlugin('d3', d3);
|
||||||
exposeToPlugin('rxjs/Subject', Subject);
|
exposeToPlugin('rxjs/Subject', Subject);
|
||||||
exposeToPlugin('rxjs/Observable', Observable);
|
exposeToPlugin('rxjs/Observable', Observable);
|
||||||
exposeToPlugin('d3', d3);
|
|
||||||
|
// 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: impressions,
|
impressions: impressions,
|
||||||
__esModule: true
|
__esModule: true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
exposeToPlugin('app/plugins/sdk', sdk);
|
exposeToPlugin('app/plugins/sdk', sdk);
|
||||||
exposeToPlugin('app/core/utils/datemath', datemath);
|
exposeToPlugin('app/core/utils/datemath', datemath);
|
||||||
exposeToPlugin('app/core/utils/file_export', fileExport);
|
exposeToPlugin('app/core/utils/file_export', fileExport);
|
||||||
|
Loading…
Reference in New Issue
Block a user