File: avoid_privacy_breach_jquery.patch

package info (click to toggle)
r-cran-animation 2.8%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,272 kB
  • sloc: javascript: 873; sh: 15; makefile: 2
file content (29 lines) | stat: -rw-r--r-- 1,593 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Author: Andreas Tille <tille@debian.org>
Last-Update: Thu, 22 Feb 2018 10:38:05 +0100
Description: Use Debian packaged JQuery.
 .
 ATTENTION: This shamelessly assumes that the code works with Debian
            packaged jquery 3.x while upstream is using 1.4.4

--- a/inst/misc/Rweb/index.html
+++ b/inst/misc/Rweb/index.html
@@ -12,7 +12,7 @@
 	    -->
 	</style>
 
-	<script src="http://gitorious.org/yihui/animation/blobs/raw/master/inst/misc/scianimator/js/jquery-1.4.4.min.js"></script>
+	<script src="file:///usr/share/javascript/jquery/jquery.min.js"></script>
 	<script src="http://gitorious.org/yihui/animation/blobs/raw/master/inst/misc/scianimator/js/jquery.scianimator.min.js"></script>
 	<script src="http://gitorious.org/yihui/animation/blobs/raw/master/inst/misc/scianimator/js/shCore.js"></script>
 	<script src="http://gitorious.org/yihui/animation/blobs/raw/master/inst/misc/scianimator/js/shAutoloader.js"></script>
--- a/inst/misc/scianimator/index.html
+++ b/inst/misc/scianimator/index.html
@@ -8,7 +8,7 @@
 	<link rel="stylesheet" href="css/scianimator.css" />
   <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css">
 
-	<script src="js/jquery-1.4.4.min.js"></script>
+	<script src="js/jquery.min.js"></script>
 	<script src="js/jquery.scianimator.min.js"></script>
   <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script>
   <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script>