PageSourceSearch

https://gcmp.ru/template/themes/febsite/js/testprog1.js

js gcmp.ru collected 2026-10-02 06:41:58 UTC 1,061 bytes, 40 lines download raw bytes

1function testprog1Start() {	
2	testprog1_2 = document.getElementById("testprog1_2");	
3	testprog1_1 = document.getElementById("testprog1_1");
4
5	ctx1 = testprog1_1.getContext("2d");
6	ctx2 = testprog1_2.getContext("2d");
7
8	gTableTurnVariables();
9
10	testprog1_2.width = canvasHeight;
11	testprog1_2.height = canvasHeight;
12	testprog1_1.width = canvasHeight;
13	testprog1_1.height = canvasHeight;
14
15	for(var i = 0; i < 5; i++) imageArray[i] = new Image();
16	imageArray[0].src = "http://gcmp.ru/template/uploads/2013/09/cropped-headercolor2new.jpg";
17
18		$('#writeCoordsBtn2').click(fillContextAgain);
19
20	runUpPage1();
21	//startGame1();
22}
23
24function gTableTurnVariables() {
25	canvasHeight = 800;
26}
27
28function runUpPage1() {
29	document.getElementById("primary").style.width = "92%";
30	document.getElementById("primary").style.borderRight = 'none';
31	document.getElementById("secondary").style.display = "none";	
32}
33
34function startGame1() {
35	ctx1.drawImage(imageArray[0], 0, 0, 800, 800);
36}
37
38function fillContextAgain() {
39	alert(imageArray[0].src);
40}

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.