PageSourceSearch

https://holdskak.skak.dk/Scripts/app/round/roundService.js

js skak.dk collected 2026-09-24 09:52:03 UTC 1,791 bytes, 53 lines download raw bytes

1
2var app = angular.module('teamTourApp');
3app.service('roundService', function ($http) {
4    this.Query = function (teamTourId, teamTourGroupId) {
5        return $http.get('/TeamTourGroupRound/Query', {
6            params: {
7                teamTourId: teamTourId,
8                teamTourGroupId: teamTourGroupId,
9            }
10        }).success(function (response) {
11            // console.log(response);
12            return response;
13        });
14    };
15
16    this.Get = function (teamTourId, teamTourGroupId, id) {
17        return $http.get('/TeamTourGroupRound/Get', {
18            params: {
19                teamTourId: teamTourId,
20                teamTourGroupId: teamTourGroupId,
21                roundId: id,
22            }
23        }).success(function (response) {
24            // console.log(response);
25            return response.data;
26        });
27    };
28
29    this.Delete = function (teamTourId, teamTourGroupId, id) {
30        return $http.get('/TeamTourGroupRound/Delete', {
31            params: {
32                teamTourId: teamTourId,
33                teamTourGroupId: teamTourGroupId,
34                roundId: id,
35            }
36        }).success(function (response) {
37            // console.log(response);
38            return response.data;
39        });
40    };
41
42    this.Put = function (data) {
43        return $http({
44            method: 'POST',
45            url: '/TeamTourGroupRound/Create',
46            data: data,  // pass in data as strings
47            headers: { 'Content-Type': 'application/x-www-form-urlencoded' }  // set the headers so angular passing info as form data (not request payload)
48        }).success(function (response) {
49            // console.log(response);
50            return response;
51        });
52    };
53});

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.