(js) Cleanup sg-search directive

pull/225/head
Francis Lachapelle 2016-10-25 16:34:37 -04:00
parent 2949bef902
commit 524a481340
1 changed files with 1 additions and 4 deletions

View File

@ -100,10 +100,7 @@
*/
sgSearchController.$inject = ['$window', '$scope', '$element'];
function sgSearchController($window, $scope, $element) {
var vm = this, minLength;
// Domain's defaults
minLength = angular.isNumber($window.minimumSearchLength)? $window.minimumSearchLength : 2;
var vm = this;
// Controller variables
vm.searchText = null;