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
62c908a9
Commit
62c908a9
authored
Oct 22, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(build): fixed partials so they are included in optimized js file, fixes #2997
parent
58497ed5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
3 deletions
+1
-3
tasks/build_task.js
+0
-1
tasks/options/concat.js
+0
-1
tasks/options/ngtemplates.js
+1
-1
No files found.
tasks/build_task.js
View file @
62c908a9
...
@@ -23,7 +23,6 @@ module.exports = function(grunt) {
...
@@ -23,7 +23,6 @@ module.exports = function(grunt) {
'filerev'
,
'filerev'
,
'remapFilerev'
,
'remapFilerev'
,
'usemin'
,
'usemin'
,
'clean:temp'
,
'uglify:genDir'
'uglify:genDir'
]);
]);
...
...
tasks/options/concat.js
View file @
62c908a9
...
@@ -24,7 +24,6 @@ module.exports = function(config) {
...
@@ -24,7 +24,6 @@ module.exports = function(config) {
],
],
dest
:
'<%= genDir %>/css/grafana.light.min.css'
dest
:
'<%= genDir %>/css/grafana.light.min.css'
},
},
js
:
{
js
:
{
src
:
[
src
:
[
'<%= tempDir %>/vendor/requirejs/require.js'
,
'<%= tempDir %>/vendor/requirejs/require.js'
,
...
...
tasks/options/ngtemplates.js
View file @
62c908a9
...
@@ -6,7 +6,7 @@ module.exports = function(config) {
...
@@ -6,7 +6,7 @@ module.exports = function(config) {
dest
:
'<%= genDir %>/app/components/partials.js'
,
dest
:
'<%= genDir %>/app/components/partials.js'
,
options
:
{
options
:
{
bootstrap
:
function
(
module
,
script
)
{
bootstrap
:
function
(
module
,
script
)
{
return
"define('components/partials', ['angular'], function(angular) {
\
n"
+
return
"define('
app/
components/partials', ['angular'], function(angular) {
\
n"
+
"angular.module('grafana').run(['$templateCache', function($templateCache) {
\
n"
+
"angular.module('grafana').run(['$templateCache', function($templateCache) {
\
n"
+
script
+
script
+
'
\
n}]);'
+
'
\
n}]);'
+
...
...
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