[Pkg-javascript-commits] [jquery-minicolors] 09/11: Use local CSS and JavaScript in examples
David Prévot
taffit at moszumanska.debian.org
Tue Dec 30 16:13:36 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository jquery-minicolors.
commit 4205884433b4ddf61006052c781eeb5f0df6cff1
Author: David Prévot <david at tilapin.org>
Date: Tue Dec 30 11:30:26 2014 -0400
Use local CSS and JavaScript in examples
---
debian/links | 6 +++
...-Use-local-CSS-and-JavaScript-in-examples.patch | 53 ++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 60 insertions(+)
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..afbc8c6
--- /dev/null
+++ b/debian/links
@@ -0,0 +1,6 @@
+usr/share/javascript/bootstrap/css/bootstrap.min.css usr/share/doc/libjs-jquery-minicolors/examples/css/bootstrap.min.css
+usr/share/javascript/bootstrap/js/bootstrap.min.js usr/share/doc/libjs-jquery-minicolors/examples/js/bootstrap.min.js
+usr/share/javascript/jquery/jquery.min.js usr/share/doc/libjs-jquery-minicolors/examples/js/jquery.min.js
+usr/share/javascript/jquery-minicolors/jquery.minicolors.css usr/share/doc/libjs-jquery-minicolors/examples/css/jquery.minicolors.css
+usr/share/javascript/jquery-minicolors/jquery.minicolors.js usr/share/doc/libjs-jquery-minicolors/examples/js/jquery.minicolors.js
+usr/share/javascript/jquery-minicolors/jquery.minicolors.png usr/share/doc/libjs-jquery-minicolors/examples/css/jquery.minicolors.png
diff --git a/debian/patches/0001-Use-local-CSS-and-JavaScript-in-examples.patch b/debian/patches/0001-Use-local-CSS-and-JavaScript-in-examples.patch
new file mode 100644
index 0000000..4a208c6
--- /dev/null
+++ b/debian/patches/0001-Use-local-CSS-and-JavaScript-in-examples.patch
@@ -0,0 +1,53 @@
+From: =?utf-8?q?David_Pr=C3=A9vot?= <david at tilapin.org>
+Date: Tue, 30 Dec 2014 11:27:17 -0400
+Subject: Use local CSS and JavaScript in examples
+
+---
+ index.html | 10 +++++-----
+ without-bootstrap.html | 6 +++---
+ 2 files changed, 8 insertions(+), 8 deletions(-)
+
+diff --git a/index.html b/index.html
+index 06e8791..0d50bc1 100644
+--- a/index.html
++++ b/index.html
+@@ -5,15 +5,15 @@
+ <meta charset="utf-8">
+
+ <!-- jQuery -->
+- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
++ <script src="js/jquery.min.js"></script>
+
+ <!-- Bootstrap 3 -->
+- <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
+- <script src="//netdna.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
++ <link rel="stylesheet" href="css/bootstrap.min.css">
++ <script src="js/bootstrap.min.js"></script>
+
+ <!-- MiniColors -->
+- <script src="jquery.minicolors.js"></script>
+- <link rel="stylesheet" href="jquery.minicolors.css">
++ <script src="js/jquery.minicolors.js"></script>
++ <link rel="stylesheet" href="css/jquery.minicolors.css">
+
+ <style>
+ dl {
+diff --git a/without-bootstrap.html b/without-bootstrap.html
+index 3cef51d..10ff3bb 100644
+--- a/without-bootstrap.html
++++ b/without-bootstrap.html
+@@ -5,11 +5,11 @@
+ <meta charset="utf-8">
+
+ <!-- jQuery -->
+- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
++ <script src="js/jquery.min.js"></script>
+
+ <!-- MiniColors -->
+- <script src="jquery.minicolors.js"></script>
+- <link rel="stylesheet" href="jquery.minicolors.css">
++ <script src="js/jquery.minicolors.js"></script>
++ <link rel="stylesheet" href="css/jquery.minicolors.css">
+
+ <style>
+ body {
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7ba3ddc
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Use-local-CSS-and-JavaScript-in-examples.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/jquery-minicolors.git
More information about the Pkg-javascript-commits
mailing list