File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 28
28
29
29
"globals" : {
30
30
"System" : true ,
31
+ "Promise" : true ,
31
32
"define" : true ,
32
33
"require" : true ,
33
34
"Chromath" : false ,
Original file line number Diff line number Diff line change 1
1
( function bootGrafana ( ) {
2
2
'use strict' ;
3
3
4
+ var systemLocate = System . locate ;
5
+ System . locate = function ( load ) {
6
+ var System = this ;
7
+ return Promise . resolve ( systemLocate . call ( this , load ) ) . then ( function ( address ) {
8
+ return address + System . cacheBust ;
9
+ } ) ;
10
+ } ;
11
+ System . cacheBust = '?bust=' + Date . now ( ) ;
12
+
4
13
System . import ( 'app/app' ) . then ( function ( app ) {
5
14
app . default . init ( ) ;
6
15
} ) . catch ( function ( err ) {
Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ module.exports = function(grunt) {
14
14
'app/app' ,
15
15
'app/features/all' ,
16
16
'app/plugins/panel/**/module' ,
17
- 'app/plugins/datasource/graphite/datasource ' ,
18
- 'app/plugins/datasource/influxdb/datasource ' ,
19
- 'app/plugins/datasource/elasticsearch/datasource ' ,
17
+ 'app/plugins/datasource/graphite/module ' ,
18
+ 'app/plugins/datasource/influxdb/module ' ,
19
+ 'app/plugins/datasource/elasticsearch/module ' ,
20
20
] ;
21
21
22
22
var expression = modules . join ( ' + ' ) ;
You can’t perform that action at this time.
0 commit comments