1directives.directive('cdTopFollowUp', ['$routeParams', '$window', function ($routeParams, $window) {//Task 6946 2 // Runs during compile 3 return { 4 // name: '', 5 // priority: 1, 6 // terminal: true, 7 scope: {}, // {} = isolate, true = child, false/undefined = no change 8 controller: function ($scope, $element, $attrs, $transclude) { 9 $scope.displayTopMenu = false; 10 11 $scope.showTopMenu = function () { 12 $scope.displayTopMenu = !$scope.displayTopMenu; 13 }; 14 15 $scope.isHistoryEmpty = function () { 16 //Internet Explorer and Opera start at 0, while Firefox, Chrome, and Safari start at 1 17 return $window.history.length <= 1; 18 }; 19 20 $scope.getBackLink = function () { 21 var source = $routeParams.source; 22 return source == 'd' ? '#/care/' + $routeParams.rid : ''; 23 }; 24 25 $scope.goBack = function () { 26 $window.history.back(); 27 }; 28 }, 29 // require: 'ngModel', // Array = multiple requires, ? = optional, ^ = check parent elements 30 restrict: 'E', // E = Element, A = Attribute, C = Class, M = Comment 31 // template: '', 32 templateUrl: 'partials/cdTopFollowUp.html?d=' + new Date().getTime(), 33 replace: true, 34 // transclude: true, 35 // compile: function(tElement, tAttrs, function transclude(function(scope, cloneLinkingFn){ return function linking(scope, elm, attrs){}})), 36 link: function ($scope, iElm, iAttrs, controller) { 37 38 } 39 }; 40}]);
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.