PageSourceSearch

https://rekrutacja.pedagogium.pl/pdg-irk-app/content/script/irk/pa…/podsumowanieEgzaminowController.js

js pedagogium.pl collected 2026-10-04 13:34:55 UTC 1,130 bytes, 35 lines download raw bytes

1(function() {
2    'use strict';
3
4    angular.module("irk")
5        .constant("EGZAMIN_EVENTS", {
6            zmianaTerminowEgzaminow: 'zmianaTerminowEgzaminow'
7        })
8        .controller("PodsumowanieEgzaminowController", podsumowanieEgzaminowController)
9        .directive("egzaminyComponent", egzaminyComponent);
10    
11    function podsumowanieEgzaminowController($scope, $http, $rootScope, EGZAMIN_EVENTS) {
12        $scope.terminyEgzaminow = undefined;
13        var updateTerminyEgzaminow = function(group) {
14            return $http.get('REST/terminyEgzaminow', {})
15              .then(function (aktualneKierunki) {
16                  $scope.terminyEgzaminow = aktualneKierunki.data;
17              });
18        };
19        
20        updateTerminyEgzaminow();
21
22        $rootScope.$on(EGZAMIN_EVENTS.zmianaTerminowEgzaminow, function(){
23            updateTerminyEgzaminow();
24        });
25    }
26    
27    function egzaminyComponent() { 
28        return {
29            restrict : "E", 
30            replace : true,
31            transclude : true, 
32            templateUrl : "irk.auth.stronaglowna.EgzaminyComponent"
33        }
34    }
35})();

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.