PageSourceSearch

https://training.camp/js/home.js?v=1.0.0_4.9.4

js training.camp collected 2026-10-02 06:38:15 UTC 1,465 bytes, 49 lines download raw bytes

1function showHomeDashboard(page, type = null) {
2	let datastring = {};
3	datastring.method='showFrame';
4	datastring.frame = 'dashboard';
5    datastring.page = page;
6    datastring.type = type;
7    if(document.getElementById('show-selector')) datastring.show = document.getElementById('show-selector').value;
8    if(page==1) {
9	    showContent(datastring, 'main-container');
10    } else {
11        appendContent(datastring, 'main-container');
12    }
13}
14
15function addNewFeed(type) {
16    try {
17        var editor = $('#editor-container').data('quill');	   
18
19        var datastring = {};
20        datastring.method='addFeed';
21        datastring.privacy = document.getElementById('POST_PRIVACY').value;
22        datastring.type=type;
23		datastring.comment=encodeURIComponent(editor.root.innerHTML);
24  
25        //showLoading();
26        $.ajax({
27            type: "POST",
28            url: "services.php",
29            data: datastring,
30            cache: false,
31            success: function (html) {                 
32                hideLoading();
33                var dataset=JSON.parse(html); 
34				if(dataset['errorMsg']) 
35					showError(dataset['errorMsg']);
36				else
37					window.location.reload();
38
39            },
40            error: function (xhr, ajaxOptions, thrownError) {
41                hideLoading();
42                showError(thrownError);
43            }
44        });		
45    } catch (e) {
46		hideLoading();
47		showError(e);
48	}
49}

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.