Commit 01f16ece by Torkel Ödegaard

plugins: added backward compatible path for rxjs

parent bf680aca
...@@ -64,16 +64,21 @@ exposeToPlugin('lodash', _); ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment