Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
98c95a8a
Unverified
Commit
98c95a8a
authored
Sep 19, 2019
by
Alexander Zobnin
Committed by
GitHub
Sep 19, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
plugins: expose whole rxjs to plugins (#19226)
parent
56f51067
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
public/app/features/plugins/plugin_loader.ts
+4
-7
No files found.
public/app/features/plugins/plugin_loader.ts
View file @
98c95a8a
...
...
@@ -37,7 +37,8 @@ import * as grafanaUI from '@grafana/ui';
import
*
as
grafanaRuntime
from
'@grafana/runtime'
;
// rxjs
import
{
Observable
,
Subject
}
from
'rxjs'
;
import
*
as
rxjs
from
'rxjs'
;
import
*
as
rxjsOperators
from
'rxjs/operators'
;
// add cache busting
const
bust
=
`?_cache=
${
Date
.
now
()}
`
;
...
...
@@ -81,12 +82,8 @@ exposeToPlugin('moment', moment);
exposeToPlugin
(
'jquery'
,
jquery
);
exposeToPlugin
(
'angular'
,
angular
);
exposeToPlugin
(
'd3'
,
d3
);
exposeToPlugin
(
'rxjs/Subject'
,
Subject
);
exposeToPlugin
(
'rxjs/Observable'
,
Observable
);
exposeToPlugin
(
'rxjs'
,
{
Subject
:
Subject
,
Observable
:
Observable
,
});
exposeToPlugin
(
'rxjs'
,
rxjs
);
exposeToPlugin
(
'rxjs/operators'
,
rxjsOperators
);
// Experimental modules
exposeToPlugin
(
'prismjs'
,
prismjs
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment