Fixed JSLint errors

This commit is contained in:
Henry
2015-12-08 14:51:25 -08:00
parent 4fbf547bfc
commit 4b7287e51e
7 changed files with 46 additions and 50 deletions

View File

@ -33,10 +33,11 @@ define(
*/
function ElementsController($scope) {
function filterBy(text){
if (typeof text === 'undefined')
if (typeof text === 'undefined') {
return $scope.searchText;
else
} else {
$scope.searchText = text;
}
}
$scope.filterBy = filterBy;
}