File: 0004-Use-local-jquery.js-and-jquery-ui.js.patch

package info (click to toggle)
sqlkit 0.9.5-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 8,184 kB
  • sloc: python: 17,477; sql: 166; makefile: 95; xml: 23; sh: 11
file content (27 lines) | stat: -rw-r--r-- 1,410 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
From: Pietro Battiston <me@pietrobattiston.it>
Date: Sat, 11 Feb 2012 08:50:05 +0100
Subject: Use local jquery.js and jquery-ui.js

 The documentation provided by upstream retrieves two javascript
 libraries from a remote website. This patch replaces them with
 local versions.
---
 doc/templates/static_base.mako |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/templates/static_base.mako b/doc/templates/static_base.mako
index 8e977d9..89c16d2 100644
--- a/doc/templates/static_base.mako
+++ b/doc/templates/static_base.mako
@@ -9,8 +9,8 @@
       ${self.headers()}
 <!-- <link rel="stylesheet" href="http://www.myjqueryplugins.com/plugins/jmenu/demo/jquery/jMenu.jquery.css" type="text/css" /> -->
       <link rel="stylesheet" href="${pathto('_static/jMenu.jquery.css', 1)}" type="text/css" />
-      <script type="text/javascript" src="http://www.myjqueryplugins.com/plugins/jmenu/demo/jquery/jquery.js"></script>
-      <script type="text/javascript" src="http://www.myjqueryplugins.com/plugins/jmenu/demo/jquery/jquery-ui.js"></script>
+      <script type="text/javascript" src="/usr/share/javascript/jquery/jquery.js"></script>
+      <script type="text/javascript" src="/usr/share/javascript/jquery-ui/jquery-ui.js"></script>
 
       <!-- <script type="text/javascript" src="http://www.myjqueryplugins.com/plugins/jmenu/demo/jquery/jMenu.jquery.js"></script> -->
 
--