mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
removed unused function 'endsWithWildcard', fixes jshint error
This commit is contained in:
parent
9c5674a076
commit
0dae8f9977
@ -90,13 +90,5 @@ function (angular, app, _) {
|
||||
$rootScope.$broadcast('render');
|
||||
};
|
||||
|
||||
function endsWithWildcard(query) {
|
||||
if (query.length === 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return query[query.length - 1] === '*';
|
||||
}
|
||||
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue
Block a user