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
bd8f5e9b
Commit
bd8f5e9b
authored
Nov 21, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(build): fixed build after change that made panels into proper plugins
parent
29f6283e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
11 deletions
+5
-11
tasks/options/htmlmin.js
+1
-3
tasks/options/jscs.js
+1
-3
tasks/options/jshint.js
+1
-3
tasks/options/requirejs.js
+2
-2
No files found.
tasks/options/htmlmin.js
View file @
bd8f5e9b
...
...
@@ -8,9 +8,7 @@ module.exports = function(config) {
expand
:
true
,
cwd
:
'<%= genDir %>'
,
src
:
[
//'index.html',
'app/panels/**/*.html'
,
'app/partials/**/*.html'
'app/**/*.html'
,
],
dest
:
'<%= genDir %>'
}
...
...
tasks/options/jscs.js
View file @
bd8f5e9b
...
...
@@ -4,7 +4,6 @@ module.exports = function(config) {
'Gruntfile.js'
,
'<%= srcDir %>/app/**/*.js'
,
'<%= srcDir %>/plugins/**/*.js'
,
'!<%= srcDir %>/app/panels/*/{lib,leaflet}/*'
,
'!<%= srcDir %>/app/dashboards/*'
],
options
:
{
...
...
@@ -20,4 +19,4 @@ module.exports = function(config) {
"disallowRightStickedOperators": ["?", "+", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"requireRightStickedOperators": ["!"],
"requireLeftStickedOperators": [","],
*/
\ No newline at end of file
*/
tasks/options/jshint.js
View file @
bd8f5e9b
...
...
@@ -18,9 +18,8 @@ module.exports = function(config) {
'dist/*'
,
'sample/*'
,
'<%= srcDir %>/vendor/*'
,
'<%= srcDir %>/app/panels/*/{lib,leaflet}/*'
,
'<%= srcDir %>/app/dashboards/*'
]
}
};
};
\ No newline at end of file
};
tasks/options/requirejs.js
View file @
bd8f5e9b
...
...
@@ -62,11 +62,11 @@ module.exports = function(config,grunt) {
];
var
fs
=
require
(
'fs'
);
var
panelPath
=
config
.
srcDir
+
'/app/panels'
;
var
panelPath
=
config
.
srcDir
+
'/app/p
lugins/p
anels'
;
// create a module for each directory in public/app/panels/
fs
.
readdirSync
(
panelPath
).
forEach
(
function
(
panelName
)
{
requireModules
[
0
].
include
.
push
(
'app/panels/'
+
panelName
+
'/module'
);
requireModules
[
0
].
include
.
push
(
'app/p
lugins/p
anels/'
+
panelName
+
'/module'
);
});
return
{
options
:
options
};
...
...
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