1'use strict'; 2angular.module('sfmStore') 3.controller('sfmResultsDropdownController', function($scope) { 4 var vm = this; 5 vm.shown = false; 6 vm.attendee = vm.attendee || {email: ""} 7 8 $scope.$watch('vm.results', function(newVal) { 9 if(newVal.length > 0) { 10 vm.shown = true 11 } 12 if(newVal.length === 0) { 13 vm.shown = false; 14 } 15 }) 16 17 $scope.$watch('vm.blurred', function(newVal) { 18 if(newVal) { 19 vm.contact = vm.contact || {}; 20 vm.blurred = false; 21 vm.shown = false; 22 } 23 }) 24 25 vm.setContact = function(contact) { 26 vm.contact = contact; 27 vm.shown = false; 28 } 29})
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.