1app.service('authorizationService', function ($state) { 2 this.thing = null; 3 this.authorized = null; 4 this.memorizedState = null; 5 6 var 7 clear = function () { 8 this.authorized = false; 9 this.memorizedState = null; 10 }, 11 12 go = function (fallback) { 13 this.authorized = true; 14 var targetState = this.memorizedState ? this.memorizedState : fallback; 15 $state.go(targetState); 16 }; 17 18 return { 19 authorized: this.authorized, 20 clear: clear, 21 go: go 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.