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
0a8b9bad
Commit
0a8b9bad
authored
Feb 07, 2014
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #67, decimal inputs for function parameters (like scale)
parent
bd4b75f5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
src/app/panels/graphite/funcEditor.html
+1
-1
src/app/services/graphite/parser.js
+1
-1
src/test/specs/gfunc-specs.js
+1
-1
No files found.
src/app/panels/graphite/funcEditor.html
View file @
0a8b9bad
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<div
ng-switch-when=
"int"
>
<div
ng-switch-when=
"int"
>
<input
<input
type=
"number"
type=
"number"
placeholder=
"seconds
"
step=
"any
"
focus-me=
"true"
focus-me=
"true"
class=
"input-mini"
class=
"input-mini"
ng-change=
"functionParamsChanged(func)"
ng-model-onblur
ng-change=
"functionParamsChanged(func)"
ng-model-onblur
...
...
src/app/services/graphite/parser.js
View file @
0a8b9bad
...
@@ -172,7 +172,7 @@ define([
...
@@ -172,7 +172,7 @@ define([
return
{
return
{
type
:
'number'
,
type
:
'number'
,
value
:
parse
Int
(
this
.
consumeToken
().
value
,
10
)
value
:
parse
Float
(
this
.
consumeToken
().
value
)
};
};
},
},
...
...
src/test/specs/gfunc-specs.js
View file @
0a8b9bad
...
@@ -60,7 +60,7 @@ define([
...
@@ -60,7 +60,7 @@ define([
it
(
'should return function categories'
,
function
()
{
it
(
'should return function categories'
,
function
()
{
var
catIndex
=
gfunc
.
getCategories
();
var
catIndex
=
gfunc
.
getCategories
();
expect
(
catIndex
.
Special
.
length
).
to
.
equal
(
8
);
expect
(
catIndex
.
Special
.
length
).
to
.
be
.
greaterThan
(
8
);
});
});
});
});
...
...
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