File: 0001-Use-system-jQuery-on-examples.patch

package info (click to toggle)
libjs-jquery-stupidtable 1.0.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 544 kB
  • ctags: 10
  • sloc: makefile: 7
file content (71 lines) | stat: -rw-r--r-- 2,827 bytes parent folder | download
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
From: Sergio Durigan Junior <sergiodj@sergiodj.net>
Date: Wed, 10 Aug 2016 21:33:58 -0400
Subject: Use system jQuery on examples

---
 examples/basic.html       | 4 ++--
 examples/colspan.html     | 4 ++--
 examples/complex.html     | 4 ++--
 examples/large-table.html | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/examples/basic.html b/examples/basic.html
index 11e4341..c10a66e 100644
--- a/examples/basic.html
+++ b/examples/basic.html
@@ -2,8 +2,8 @@
 <html>
 <head>
   <title>Stupid jQuery table sort</title>
-  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
-  <script src="../stupidtable.js?dev"></script>
+  <script src="/usr/share/javascript/jquery/jquery.min.js"></script>
+  <script src="/usr/share/javascript/jquery-stupidtable/stupidtable.js?dev"></script>
   <script>
     $(function(){
         $("table").stupidtable();
diff --git a/examples/colspan.html b/examples/colspan.html
index 148d9e4..d3be46c 100644
--- a/examples/colspan.html
+++ b/examples/colspan.html
@@ -2,8 +2,8 @@
 <html>
 <head>
   <title>Stupid jQuery table sort (colspan test)</title>
-  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
-  <script src="../stupidtable.js?dev"></script>
+  <script src="/usr/share/javascript/jquery/jquery.min.js"></script>
+  <script src="/usr/share/javascript/jquery-stupidtable/stupidtable.js?dev"></script>
   <script>
     $(function(){
         $("table").stupidtable();
diff --git a/examples/complex.html b/examples/complex.html
index 75e4ee3..dc1434d 100644
--- a/examples/complex.html
+++ b/examples/complex.html
@@ -2,8 +2,8 @@
 <html>
 <head>
   <title>Stupid jQuery table sort (complex example)</title>
-  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
-  <script src="../stupidtable.js?dev"></script>
+  <script src="/usr/share/javascript/jquery/jquery.min.js"></script>
+  <script src="/usr/share/javascript/jquery-stupidtable/stupidtable.js?dev"></script>
   <script>
     $(function(){
       // Helper function to convert a string of the form "Mar 15, 1987" into
diff --git a/examples/large-table.html b/examples/large-table.html
index 926100c..77d096b 100644
--- a/examples/large-table.html
+++ b/examples/large-table.html
@@ -2,8 +2,8 @@
 <html>
 <head>
   <title>Stupid jQuery table sort (large table example)</title>
-  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
-  <script src="../stupidtable.js?dev"></script>
+  <script src="/usr/share/javascript/jquery/jquery.min.js"></script>
+  <script src="/usr/share/javascript/jquery-stupidtable/stupidtable.js?dev"></script>
   <script>
     $(function(){
         // Helper function to convert a string of the form "Mar 15, 1987" into a Date object.