1angular.module('irk') 2 .factory('zarzadcaModulow', 3 function($http, Session, $q) { 4 var zarzadcaModulow = {}; 5 zarzadcaModulow._cache = undefined; 6 7 zarzadcaModulow.getModulyDoWyswietlenia = function() { 8 if(angular.isUndefined(zarzadcaModulow._cache)) { 9 zarzadcaModulow._cache = $http.get('REST/modulDanychOsobowych/lista', {}).then( 10 function(response) { 11 return response.data; 12 }); 13 } 14 return zarzadcaModulow._cache; 15 } 16 17 zarzadcaModulow.clearCache = function() { 18 zarzadcaModulow._cache = undefined; 19 } 20 21 Session.registerObserverCallback(function() { 22 zarzadcaModulow.clearCache(); 23 }); 24 25 return zarzadcaModulow; 26 });
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.