Przeglądaj źródła

removed unused function 'endsWithWildcard', fixes jshint error

Torkel Ödegaard 11 lat temu
rodzic
commit
0dae8f9977
1 zmienionych plików z 0 dodań i 8 usunięć
  1. 0 8
      src/app/panels/filtering/module.js

+ 0 - 8
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] === '*';
-    }
-
   });
 });