www/adium.im 653:f00f4faa6451: Load external JS files after the ...

commits at adium.im commits at adium.im
Sun Apr 1 15:28:43 UTC 2012


details:	http://hg.adium.im/www/adium.im/rev/f00f4faa6451
revision:	653:f00f4faa6451
branch:		rewrite
author:		Paul Wilde <me at paulwilde.co.uk>
date:		Sun Apr 01 16:22:20 2012 +0100

Load external JS files after the website for faster loading.
Subject: www/adium.im 654:94833096cbe3: Oops.

details:	http://hg.adium.im/www/adium.im/rev/94833096cbe3
revision:	654:94833096cbe3
branch:		rewrite
author:		Paul Wilde <me at paulwilde.co.uk>
date:		Sun Apr 01 16:22:48 2012 +0100

Oops.

diffs (170 lines):

diff -r ebc176ac089a -r 94833096cbe3 about/index.php
--- a/about/index.php	Wed Mar 28 11:57:31 2012 +0100
+++ b/about/index.php	Sun Apr 01 16:22:48 2012 +0100
@@ -14,9 +14,6 @@
 	<link rel="stylesheet" href="/rewrite/assets/scripts/fancybox/fancybox.min.css">
 	<link rel="shortcut icon" href="/rewrite/favicon.ico">
 	<link rel="apple-touch-icon-precomposed" href="/rewrite/apple-touch-icon.png">
-	<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
-	<script src="/rewrite/assets/scripts/fancybox/fancybox.min.js"></script>
-	<script src="/rewrite/assets/scripts/about.js"></script>
 </head>
 
 <body>
@@ -170,4 +167,9 @@
 			</section>
 		</div>
 	</div>
-<?php include('../footer.php'); ?>
\ No newline at end of file
+<?php include('../footer.php'); ?>
+	<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
+	<script src="/rewrite/assets/scripts/fancybox/fancybox.min.js"></script>
+	<script src="/rewrite/assets/scripts/about.js"></script>
+</body>
+</html>
\ No newline at end of file
diff -r ebc176ac089a -r 94833096cbe3 beta/index.php
--- a/beta/index.php	Wed Mar 28 11:57:31 2012 +0100
+++ b/beta/index.php	Sun Apr 01 16:22:48 2012 +0100
@@ -239,7 +239,6 @@
 			</section>
 		</div>
 	</div>
-<?php if (!$no_template) { include('../footer.php'); } else { ?>
+<?php if (!$no_template) include('../footer.php'); ?>
 </body>
-</html>
-<?php } ?>
\ No newline at end of file
+</html>
\ No newline at end of file
diff -r ebc176ac089a -r 94833096cbe3 footer.php
--- a/footer.php	Wed Mar 28 11:57:31 2012 +0100
+++ b/footer.php	Sun Apr 01 16:22:48 2012 +0100
@@ -36,6 +36,3 @@
 			</section>
 		</div>
 	</footer>
-</body>
-
-</html>
\ No newline at end of file
diff -r ebc176ac089a -r 94833096cbe3 help/documentation/index.php
--- a/help/documentation/index.php	Wed Mar 28 11:57:31 2012 +0100
+++ b/help/documentation/index.php	Sun Apr 01 16:22:48 2012 +0100
@@ -1,6 +1,6 @@
 <?php
 // Includes all page titles, meta keywords and meta descriptions
-// $meta is an array contained within the file
+// $meta is an array contained within documentation-headers.php
 include('documentation-headers.php');
 
 $doc = isset($_GET['doc']) ? strtolower($_GET['doc']) : ''; ?>
@@ -18,8 +18,6 @@
 	<link rel="stylesheet" href="/rewrite/assets/styles/help.css">
 	<link rel="shortcut icon" href="/rewrite/favicon.ico">
 	<link rel="apple-touch-icon-precomposed" href="/rewrite/apple-touch-icon.png">
-	<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
-	<script src="/rewrite/assets/scripts/help.js"></script>
 </head>
 
 <body>
@@ -72,4 +70,8 @@
 			</section>
 		</div>
 	</div>
-<?php include('../../footer.php'); ?>
\ No newline at end of file
+<?php include('../../footer.php'); ?>
+	<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
+	<script src="/rewrite/assets/scripts/help.js"></script>
+</body>
+</html>
\ No newline at end of file
diff -r ebc176ac089a -r 94833096cbe3 help/index.php
--- a/help/index.php	Wed Mar 28 11:57:31 2012 +0100
+++ b/help/index.php	Sun Apr 01 16:22:48 2012 +0100
@@ -12,8 +12,6 @@
 	<link rel="stylesheet" href="/rewrite/assets/styles/help.css">
 	<link rel="shortcut icon" href="/rewrite/favicon.ico">
 	<link rel="apple-touch-icon-precomposed" href="/rewrite/apple-touch-icon.png">
-	<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
-	<script src="/rewrite/assets/scripts/help.js"></script>
 </head>
 
 <body>
@@ -92,4 +90,8 @@
 			</section>
 		</div>
 	</div>
-<?php include('../footer.php'); ?>
\ No newline at end of file
+<?php include('../footer.php'); ?>
+	<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
+	<script src="/rewrite/assets/scripts/help.js"></script>
+</body>
+</html>
\ No newline at end of file
diff -r ebc176ac089a -r 94833096cbe3 index.php
--- a/index.php	Wed Mar 28 11:57:31 2012 +0100
+++ b/index.php	Sun Apr 01 16:22:48 2012 +0100
@@ -106,9 +106,6 @@
 	<link rel="stylesheet" href="/rewrite/assets/scripts/fancybox/fancybox.min.css">
 	<link rel="shortcut icon" href="/rewrite/favicon.ico">
 	<link rel="apple-touch-icon-precomposed" href="/rewrite/apple-touch-icon.png">
-	<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
-	<script src="/rewrite/assets/scripts/fancybox/fancybox.min.js"></script>
-	<script src="/rewrite/assets/scripts/home.js"></script>
 </head>
 
 <body>
@@ -211,7 +208,7 @@
 					<li class="irc"><a href="http://en.wikipedia.org/wiki/Internet_Relay_Chat" title="Internet Relay Chat"><span>IRC</span></a></li>
 					<li class="bonjour"><a href="http://www.apple.com/bonjour" title="Bonjour"><span>Bonjour</span></a></li>
 					<li class="mobileme"><a href="http://www.me.com" title="MobileMe"><span>MobileMe</span></a></li>
-					<li class="gadugadu"><a href="http://www.gadu-gadu.pl" title="Gadu-Gadu"><span>Gadu-Gadus</span></a></li>
+					<li class="gadugadu"><a href="http://www.gadu-gadu.pl" title="Gadu-Gadu"><span>Gadu-Gadu</span></a></li>
 					<li class="myspace"><a href="http://www.myspace.com" title="MySpace IM"><span>MySpace IM</span></a></li>
 					<li class="sametime"><a href="http://www.ibm.com/software/lotus/sametime" title="Lotus SameTime"><span>Lotus SameTime</span></a></li>
 					<li class="groupwise"><a href="http://www.novell.com/products/groupwise" title="Novell GroupWise"><span>Novell GroupWise</span></a></li>
@@ -221,4 +218,9 @@
 			</section>
 		</div>
 	</div>
-<?php include('footer.php'); ?>
\ No newline at end of file
+<?php include('footer.php'); ?>
+	<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
+	<script src="/rewrite/assets/scripts/fancybox/fancybox.min.js"></script>
+	<script src="/rewrite/assets/scripts/home.js"></script>
+</body>
+</html>
\ No newline at end of file
diff -r ebc176ac089a -r 94833096cbe3 screencasts/index.php
--- a/screencasts/index.php	Wed Mar 28 11:57:31 2012 +0100
+++ b/screencasts/index.php	Sun Apr 01 16:22:48 2012 +0100
@@ -13,10 +13,6 @@
 	<link rel="stylesheet" href="/rewrite/assets/scripts/fancybox/fancybox.min.css">
 	<link rel="shortcut icon" href="/rewrite/favicon.ico">
 	<link rel="apple-touch-icon-precomposed" href="/rewrite/apple-touch-icon.png">
-	<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
-	<script src="/rewrite/assets/scripts/fancybox/fancybox.min.js"></script>
-	<script src="/rewrite/assets/scripts/about.js"></script>
-	
 </head>
 
 <body>
@@ -113,4 +109,9 @@
 			</section>
 		</div>
 	</div>
-<?php include('../footer.php'); ?>
\ No newline at end of file
+<?php include('../footer.php'); ?>
+	<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
+	<script src="/rewrite/assets/scripts/fancybox/fancybox.min.js"></script>
+	<script src="/rewrite/assets/scripts/about.js"></script>
+</body>
+</html>
\ No newline at end of file




More information about the commits mailing list