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
8f5df801
Commit
8f5df801
authored
Jul 08, 2019
by
Ryan McKinley
Committed by
kay delaney
Jul 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Chore: Removes custom debounce utility in favor of lodash/debounce (#17977)
parent
962d4daa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
17 deletions
+1
-17
public/app/features/explore/utils/debounce.ts
+0
-14
public/app/plugins/datasource/grafana-azure-monitor-datasource/editor/KustoQueryField.tsx
+1
-3
No files found.
public/app/features/explore/utils/debounce.ts
deleted
100644 → 0
View file @
962d4daa
// Based on underscore.js debounce()
export
default
function
debounce
(
func
,
wait
)
{
let
timeout
;
return
function
(
this
:
any
)
{
const
context
=
this
;
const
args
=
arguments
;
const
later
=
()
=>
{
timeout
=
null
;
func
.
apply
(
context
,
args
);
};
clearTimeout
(
timeout
);
timeout
=
setTimeout
(
later
,
wait
);
};
}
public/app/plugins/datasource/grafana-azure-monitor-datasource/editor/KustoQueryField.tsx
View file @
8f5df801
...
...
@@ -3,9 +3,7 @@ import _ from 'lodash';
import
Plain
from
'slate-plain-serializer'
;
import
QueryField
from
'./query_field'
;
// import debounce from './utils/debounce';
// import {getNextCharacter} from './utils/dom';
import
debounce
from
'app/features/explore/utils/debounce'
;
import
debounce
from
'lodash/debounce'
;
import
{
getNextCharacter
}
from
'app/features/explore/utils/dom'
;
import
{
KEYWORDS
,
functionTokens
,
operatorTokens
,
grafanaMacros
}
from
'./kusto/kusto'
;
...
...
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