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
630e6f5d
Commit
630e6f5d
authored
Oct 10, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tech: expose more to plugins, closes #9456
parent
3184942a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletions
+10
-1
public/app/features/plugins/plugin_loader.ts
+10
-1
No files found.
public/app/features/plugins/plugin_loader.ts
View file @
630e6f5d
...
@@ -8,11 +8,12 @@ import jquery from 'jquery';
...
@@ -8,11 +8,12 @@ import jquery from 'jquery';
import
config
from
'app/core/config'
;
import
config
from
'app/core/config'
;
import
TimeSeries
from
'app/core/time_series2'
;
import
TimeSeries
from
'app/core/time_series2'
;
import
TableModel
from
'app/core/table_model'
;
import
TableModel
from
'app/core/table_model'
;
import
appEvents
from
'app/core/app_events
'
;
import
{
coreModule
,
appEvents
,
contextSrv
}
from
'app/core/core
'
;
import
{
Observable
}
from
'rxjs/Observable'
;
import
{
Observable
}
from
'rxjs/Observable'
;
import
{
Subject
}
from
'rxjs/Subject'
;
import
{
Subject
}
from
'rxjs/Subject'
;
import
*
as
datemath
from
'app/core/utils/datemath'
;
import
*
as
datemath
from
'app/core/utils/datemath'
;
import
builtInPlugins
from
'./buit_in_plugins'
;
import
builtInPlugins
from
'./buit_in_plugins'
;
import
d3
from
'vendor/d3/d3'
;
System
.
config
({
System
.
config
({
baseURL
:
'public'
,
baseURL
:
'public'
,
...
@@ -50,6 +51,7 @@ exposeToPlugin('jquery', jquery);
...
@@ -50,6 +51,7 @@ exposeToPlugin('jquery', jquery);
exposeToPlugin
(
'angular'
,
angular
);
exposeToPlugin
(
'angular'
,
angular
);
exposeToPlugin
(
'rxjs/Subject'
,
Subject
);
exposeToPlugin
(
'rxjs/Subject'
,
Subject
);
exposeToPlugin
(
'rxjs/Observable'
,
Observable
);
exposeToPlugin
(
'rxjs/Observable'
,
Observable
);
exposeToPlugin
(
'd3'
,
d3
);
exposeToPlugin
(
'app/plugins/sdk'
,
sdk
);
exposeToPlugin
(
'app/plugins/sdk'
,
sdk
);
exposeToPlugin
(
'app/core/utils/datemath'
,
datemath
);
exposeToPlugin
(
'app/core/utils/datemath'
,
datemath
);
...
@@ -59,6 +61,13 @@ exposeToPlugin('app/core/time_series', TimeSeries);
...
@@ -59,6 +61,13 @@ exposeToPlugin('app/core/time_series', TimeSeries);
exposeToPlugin
(
'app/core/time_series2'
,
TimeSeries
);
exposeToPlugin
(
'app/core/time_series2'
,
TimeSeries
);
exposeToPlugin
(
'app/core/table_model'
,
TableModel
);
exposeToPlugin
(
'app/core/table_model'
,
TableModel
);
exposeToPlugin
(
'app/core/app_events'
,
appEvents
);
exposeToPlugin
(
'app/core/app_events'
,
appEvents
);
exposeToPlugin
(
'app/core/core_module'
,
coreModule
);
exposeToPlugin
(
'app/core/core_module'
,
coreModule
);
exposeToPlugin
(
'app/core/core'
,
{
coreModule
:
coreModule
,
appEvents
:
appEvents
,
contextSrv
:
contextSrv
,
});
import
'vendor/flot/jquery.flot'
;
import
'vendor/flot/jquery.flot'
;
import
'vendor/flot/jquery.flot.selection'
;
import
'vendor/flot/jquery.flot.selection'
;
...
...
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