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
4066c552
Unverified
Commit
4066c552
authored
Jun 04, 2019
by
Ryan McKinley
Committed by
GitHub
Jun 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: change angular loader paths (#17421)
parent
f43af0e6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
public/app/core/services/AngularLoader.ts
+11
-3
public/app/routes/GrafanaCtrl.ts
+1
-1
No files found.
public/app/core/services/AngularLoader.ts
View file @
4066c552
...
...
@@ -2,9 +2,13 @@ import angular from 'angular';
import
coreModule
from
'app/core/core_module'
;
import
_
from
'lodash'
;
import
{
AngularComponent
,
AngularLoader
}
from
'@grafana/runtime'
;
import
{
AngularComponent
,
AngularLoader
as
AngularLoaderInterface
,
setAngularLoader
as
setAngularLoaderInterface
,
}
from
'@grafana/runtime'
;
export
class
AngularLoader
Class
implements
AngularLoader
{
export
class
AngularLoader
implements
AngularLoaderInterface
{
/** @ngInject */
constructor
(
private
$compile
:
any
,
private
$rootScope
:
any
)
{}
...
...
@@ -34,4 +38,8 @@ export class AngularLoaderClass implements AngularLoader {
}
}
coreModule
.
service
(
'angularLoader'
,
AngularLoaderClass
);
export
function
setAngularLoader
(
v
:
AngularLoader
)
{
setAngularLoaderInterface
(
v
);
}
coreModule
.
service
(
'angularLoader'
,
AngularLoader
);
public/app/routes/GrafanaCtrl.ts
View file @
4066c552
...
...
@@ -13,7 +13,7 @@ import appEvents from 'app/core/app_events';
import
{
TimeSrv
,
setTimeSrv
}
from
'app/features/dashboard/services/TimeSrv'
;
import
{
DatasourceSrv
}
from
'app/features/plugins/datasource_srv'
;
import
{
KeybindingSrv
,
setKeybindingSrv
}
from
'app/core/services/keybindingSrv'
;
import
{
AngularLoader
,
setAngularLoader
}
from
'
@grafana/runtime
'
;
import
{
AngularLoader
,
setAngularLoader
}
from
'
app/core/services/AngularLoader
'
;
import
{
configureStore
}
from
'app/store/configureStore'
;
// Types
...
...
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