Debian Codegraph @

debian/patches/0004-Remove-links-to-external-resource.patch

raw
1 From: Emmanuel Arias <[email protected]>
2 Date: Fri, 3 Jun 2022 17:55:21 -0300
3 Subject: Remove links to external resource
4
5 Remove links to external resources to avoid privacy breach
6 ---
7 scalene/scalene-gui/index.html | 17 ++++-------------
8 scalene/scalene-gui/profiler.html | 7 +++----
9 2 files changed, 7 insertions(+), 17 deletions(-)
10
11 diff --git a/scalene/scalene-gui/index.html b/scalene/scalene-gui/index.html
12 index 0ce70d6..5bae269 100644
13 --- a/scalene/scalene-gui/index.html
14 +++ b/scalene/scalene-gui/index.html
15 @@ -3,10 +3,10 @@
16 <title>Scalene</title>
17 <link rel="icon" href="favicon.ico" type="image/x-icon">
18 <!-- Latest compiled and minified CSS -->
19 - <script src="https://code.jquery.com/jquery-3.6.0.slim.min.js"></script>
20 -
21 - <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
22 - <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
23 + <script src="file:///usr/share/javascript/jquery/jquery.js"></script>
24 +
25 + <link href="file:///usr/share/javascript/bootstrap4/css/bootstrap.min.css" rel="stylesheet">
26 + <script src="file:///usr/share/javascript/bootstrap4/js/bootstrap.bundle.min.js"></script>
27 <link href="prism.css" rel="stylesheet" />
28 <style>
29 .table-condensed>thead>tr>th, .table-condensed>tbody>tr>th, .table-condensed>tfoot>tr>th, .table-condensed>thead>tr>td, .table-condensed>tbody>tr>td, .table-condensed>tfoot>tr>td{
30 @@ -23,15 +23,6 @@
31 }
32 </style>
33 <!-- Global site tag (gtag.js) - Google Analytics -->
34 - <script async src="https://www.googletagmanager.com/gtag/js?id=G-4JXPHEBMTY"></script>
35 - <script>
36 - window.dataLayer = window.dataLayer || [];
37 - function gtag(){dataLayer.push(arguments);}
38 - gtag('js', new Date());
39 -
40 - gtag('config', 'G-4JXPHEBMTY');
41 - </script>
42 -
43 <script src="example-profile.js"></script>
44 <script src="prism.js"></script>
45 <script src="tablesort.js"></script>
46 diff --git a/scalene/scalene-gui/profiler.html b/scalene/scalene-gui/profiler.html
47 index d6b2981..eb379a7 100644
48 --- a/scalene/scalene-gui/profiler.html
49 +++ b/scalene/scalene-gui/profiler.html
50 @@ -3,10 +3,10 @@
51 <title>Scalene</title>
52 <link rel="icon" href="favicon.ico" type="image/x-icon">
53 <!-- Latest compiled and minified CSS -->
54 - <script src="https://code.jquery.com/jquery-3.6.0.slim.min.js"></script>
55 + <script src="file:///usr/share/javascript/jquery/jquery.js"></script>
56
57 - <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
58 - <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
59 + <link href="file:///usr/share/javascript/bootstrap4/css/bootstrap.min.css" rel="stylesheet">
60 + <script src="file:///usr/share/javascript/bootstrap4/js/bootstrap.bundle.min.js"></script>
61 <link href="prism.css" rel="stylesheet" />
62 <style>
63 .table-condensed>thead>tr>th, .table-condensed>tbody>tr>th, .table-condensed>tfoot>tr>th, .table-condensed>thead>tr>td, .table-condensed>tbody>tr>td, .table-condensed>tfoot>tr>td{
64 @@ -23,7 +23,6 @@
65 }
66 </style>
67 <!-- Global site tag (gtag.js) - Google Analytics -->
68 - <script async src="https://www.googletagmanager.com/gtag/js?id=G-4JXPHEBMTY"></script>
69 <script>
70 window.dataLayer = window.dataLayer || [];
71 function gtag(){dataLayer.push(arguments);}