1 2progressionApp.controller('navCtrl', function ($scope, $http) { 3 4 // Get search term from previous search 5 // $http.get('http://beta.progression.me/wp-content/themes/progressionv3/inc/searchtest.php'). 6 // success(function(data) { 7 // $scope.searchTerm = data.text; 8 // }). 9 // error(function(data){ 10 // // Handle error if necessary 11 // }); 12 13 // Change nav colour if searchbar is shown/hidden 14 // $scope.stateChange = function (state) { 15 // if (!state) { 16 // setTimeout(function(){ 17 // $('.page-home').addClass('navbar-clear'); 18 // },300); 19 // } else { 20 // $('.page-home').removeClass('navbar-clear'); 21 // } 22 // }; 23 24 // Change nav colour when scrolling, only applies on home pages 25 // $scope.scroll = function(scroll){ 26 // if (scroll > 1) { 27 // $('.page-home').removeClass('navbar-clear'); 28 // } else { 29 // $('.page-home').addClass('navbar-clear'); 30 // } 31 // }; 32 33 34 35 $scope.searchOptionsDefault = {'id':1, 'name':'All Progression'} 36 $scope.searchOptions = [ 37 { 38 'id': 1, 39 'name': 'All Progression' 40 }, 41 { 42 'id': 2, 43 'name': 'Store' 44 }, 45 { 46 'id': 3, 47 'name': "What's Hot" 48 }, 49 { 50 'id': 4, 51 'name': 'Blog' 52 }, 53 { 54 'id': 5, 55 'name': 'My Progression Profile' 56 } 57 ]; 58 59});
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.