From 0dae8f9977043e2c26c9f0d0f331d4696352a288 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Mon, 28 Apr 2014 20:08:25 +0200 Subject: [PATCH] removed unused function 'endsWithWildcard', fixes jshint error --- src/app/panels/filtering/module.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/app/panels/filtering/module.js b/src/app/panels/filtering/module.js index 3f6923073f8..c7c475fbd60 100644 --- a/src/app/panels/filtering/module.js +++ b/src/app/panels/filtering/module.js @@ -90,13 +90,5 @@ function (angular, app, _) { $rootScope.$broadcast('render'); }; - function endsWithWildcard(query) { - if (query.length === 0) { - return false; - } - - return query[query.length - 1] === '*'; - } - }); }); \ No newline at end of file