summaryrefslogtreecommitdiff
path: root/usr/share
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2021-12-23 23:23:03 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2021-12-26 19:42:33 +0100
commitfc5ff4815ba18adadcf9c34283f62bc0390a03c6 (patch)
tree60c3d836d34d03363e960a2c6449ac658db8d4ca /usr/share
parentd592880c4bc4c581d8847d96ff73bc319ca1fac2 (diff)
Depend on libjs-jquery instead of shipping jquery files
Although they are bundled in the Python package, the jQuery files are removed from the final Debian package. The dependency on libjs-jquery is used to provide an up-to-date jQuery library. Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'usr/share')
-rw-r--r--usr/share/swiftstory/www/javascript/jquery/jquery-2.1.3.js (renamed from usr/share/swiftstory/www/jquery-2.1.3.js)0
-rw-r--r--usr/share/swiftstory/www/javascript/jquery/jquery-2.1.3.min.js (renamed from usr/share/swiftstory/www/jquery-2.1.3.min.js)0
l---------usr/share/swiftstory/www/javascript/jquery/jquery.js (renamed from usr/share/swiftstory/www/jquery.js)0
l---------usr/share/swiftstory/www/javascript/jquery/jquery.min.js1
-rw-r--r--usr/share/swiftstory/www/swiftstory-desktop.html2
-rw-r--r--usr/share/swiftstory/www/swiftstory-mobile.html2
6 files changed, 3 insertions, 2 deletions
diff --git a/usr/share/swiftstory/www/jquery-2.1.3.js b/usr/share/swiftstory/www/javascript/jquery/jquery-2.1.3.js
index 79d631f..79d631f 100644
--- a/usr/share/swiftstory/www/jquery-2.1.3.js
+++ b/usr/share/swiftstory/www/javascript/jquery/jquery-2.1.3.js
diff --git a/usr/share/swiftstory/www/jquery-2.1.3.min.js b/usr/share/swiftstory/www/javascript/jquery/jquery-2.1.3.min.js
index 25714ed..25714ed 100644
--- a/usr/share/swiftstory/www/jquery-2.1.3.min.js
+++ b/usr/share/swiftstory/www/javascript/jquery/jquery-2.1.3.min.js
diff --git a/usr/share/swiftstory/www/jquery.js b/usr/share/swiftstory/www/javascript/jquery/jquery.js
index 957f262..957f262 120000
--- a/usr/share/swiftstory/www/jquery.js
+++ b/usr/share/swiftstory/www/javascript/jquery/jquery.js
diff --git a/usr/share/swiftstory/www/javascript/jquery/jquery.min.js b/usr/share/swiftstory/www/javascript/jquery/jquery.min.js
new file mode 120000
index 0000000..8d8a7ee
--- /dev/null
+++ b/usr/share/swiftstory/www/javascript/jquery/jquery.min.js
@@ -0,0 +1 @@
+jquery-2.1.3.min.js \ No newline at end of file
diff --git a/usr/share/swiftstory/www/swiftstory-desktop.html b/usr/share/swiftstory/www/swiftstory-desktop.html
index 10706af..9d4fe87 100644
--- a/usr/share/swiftstory/www/swiftstory-desktop.html
+++ b/usr/share/swiftstory/www/swiftstory-desktop.html
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>SwiftStory</title>
<link rel="stylesheet" href="swiftstory-common.css">
- <script src="jquery.js"></script>
+ <script src="/javascript/jquery/jquery.min.js"></script>
<script src="swiftstory-common.js"></script>
<script src="swiftstory-desktop.js"></script>
</head>
diff --git a/usr/share/swiftstory/www/swiftstory-mobile.html b/usr/share/swiftstory/www/swiftstory-mobile.html
index a0407d4..206d3a9 100644
--- a/usr/share/swiftstory/www/swiftstory-mobile.html
+++ b/usr/share/swiftstory/www/swiftstory-mobile.html
@@ -6,7 +6,7 @@
<title>SwiftStory</title>
<link rel="stylesheet" href="swiftstory-common.css">
<link rel="stylesheet" href="swiftstory-mobile.css">
- <script src="jquery.js"></script>
+ <script src="/javascript/jquery/jquery.min.js"></script>
<script src="swiftstory-common.js"></script>
<script src="swiftstory-config.js"></script>
<script src="swiftstory-mobile.js"></script>