[Pkg-javascript-commits] [mathjax] 01/01: Use local path to MathJax.js in an example, to make Lintian happy.
Dmitry Shachnev
mitya57-guest at moszumanska.debian.org
Fri Oct 3 05:59:12 UTC 2014
This is an automated email from the git hooks/post-receive script.
mitya57-guest pushed a commit to branch master
in repository mathjax.
commit 6cf47840fc705e5ea65b87041b78d036696e0458
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date: Fri Oct 3 09:59:00 2014 +0400
Use local path to MathJax.js in an example, to make Lintian happy.
---
debian/changelog | 1 +
debian/patches/series | 1 +
debian/patches/update_url.diff | 16 ++++++++++++++++
3 files changed, 18 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 945a6a2..73426c4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ mathjax (2.4-2) UNRELEASED; urgency=medium
* Update Standards-Version to 3.9.6, no changes needed.
* Update my e-mail address.
* Use CGit URL in Vcs-Browser field.
+ * Use local path to MathJax.js in an example, to make Lintian happy.
-- Dmitry Shachnev <mitya57 at debian.org> Fri, 03 Oct 2014 09:29:56 +0400
diff --git a/debian/patches/series b/debian/patches/series
index fd82abc..a51cfdb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
no_extra_fonts.diff
+update_url.diff
diff --git a/debian/patches/update_url.diff b/debian/patches/update_url.diff
new file mode 100644
index 0000000..57d17fd
--- /dev/null
+++ b/debian/patches/update_url.diff
@@ -0,0 +1,16 @@
+Description: use local URL in an example in config/Safe.js
+Author: Dmitry Shachnev <mitya57 at debian.org>
+Forwarded: not-needed
+Last-Update: 2014-10-03
+
+--- a/unpacked/config/Safe.js
++++ b/unpacked/config/Safe.js
+@@ -9,7 +9,7 @@
+ * when you load MathJax.js, e.g.
+ *
+ * <script
+- * src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML,Safe">
++ * src="file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS_HTML,Safe">
+ * </script>
+ *
+ * ---------------------------------------------------------------------
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/mathjax.git
More information about the Pkg-javascript-commits
mailing list