Commit 0dae8f99 by Torkel Ödegaard

removed unused function 'endsWithWildcard', fixes jshint error

parent 9c5674a0
...@@ -90,13 +90,5 @@ function (angular, app, _) { ...@@ -90,13 +90,5 @@ function (angular, app, _) {
$rootScope.$broadcast('render'); $rootScope.$broadcast('render');
}; };
function endsWithWildcard(query) {
if (query.length === 0) {
return false;
}
return query[query.length - 1] === '*';
}
}); });
}); });
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment