removed unused function 'endsWithWildcard', fixes jshint error
This commit is contained in:
1 parent
9c5674a076
commit
0dae8f9977
1 file changed
-8
@@ -90,13 +90,5 @@ function (angular, app, _) {
|
||||
$rootScope.$broadcast('render');
|
||||
};
|
||||
|
||||
function endsWithWildcard(query) {
|
||||
if (query.length === 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return query[query.length - 1] === '*';
|
||||
}
|
||||
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user