1angular 2 .module('geneOntology') 3 .component('geneOntology', { 4 templateUrl: '/static/wiki/js/angular_templates/gene-ontology-view.html', 5 bindings: { 6 data: '<', 7 goclass: '@', 8 gene: '<' 9 }, 10 controller: function ($location) { 11 var ctrl = this; 12 13 ctrl.$onInit = function () { 14 if ($location.url().indexOf('authorized') !== -1) { 15 ctrl.auth = true; 16 console.log(ctrl.auth); 17 } else { 18 ctrl.auth = false; 19 console.log(ctrl.auth); 20 } 21 }; 22 } 23 });
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.