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
dad39452
Commit
dad39452
authored
Feb 10, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(build): fixed minor issue in systemjs builder, and added SystemJs cache buster
parent
1c50eb34
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
+13
-3
.jshintrc
+1
-0
public/app/boot.js
+9
-0
tasks/systemjs_task.js
+3
-3
No files found.
.jshintrc
View file @
dad39452
...
...
@@ -28,6 +28,7 @@
"globals": {
"System": true,
"Promise": true,
"define": true,
"require": true,
"Chromath": false,
...
...
public/app/boot.js
View file @
dad39452
(
function
bootGrafana
()
{
'use strict'
;
var
systemLocate
=
System
.
locate
;
System
.
locate
=
function
(
load
)
{
var
System
=
this
;
return
Promise
.
resolve
(
systemLocate
.
call
(
this
,
load
)).
then
(
function
(
address
)
{
return
address
+
System
.
cacheBust
;
});
};
System
.
cacheBust
=
'?bust='
+
Date
.
now
();
System
.
import
(
'app/app'
).
then
(
function
(
app
)
{
app
.
default
.
init
();
}).
catch
(
function
(
err
)
{
...
...
tasks/systemjs_task.js
View file @
dad39452
...
...
@@ -14,9 +14,9 @@ module.exports = function(grunt) {
'app/app'
,
'app/features/all'
,
'app/plugins/panel/**/module'
,
'app/plugins/datasource/graphite/
datasourc
e'
,
'app/plugins/datasource/influxdb/
datasourc
e'
,
'app/plugins/datasource/elasticsearch/
datasourc
e'
,
'app/plugins/datasource/graphite/
modul
e'
,
'app/plugins/datasource/influxdb/
modul
e'
,
'app/plugins/datasource/elasticsearch/
modul
e'
,
];
var
expression
=
modules
.
join
(
' + '
);
...
...
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