Skip to content
This repository
Browse code

Moved all javascript library imports into the header template, remove…

…d duplicate javascript functions
  • Loading branch information...
commit 3889a0860be0d59cc53473e21c1ca22274c324fe 1 parent fc9fe65
Jonathan authored December 23, 2012
21  templates/footer.html
@@ -7,28 +7,7 @@
13  templates/header.html
@@ -15,14 +15,23 @@
15 15
 		<link rel="stylesheet" href="/static/styles/style.css" />
16 16
 		<link rel="stylesheet" href="/static/styles/listnav.css" />
17 17
 
  18
+        <link rel="shortcut icon" type="image/x-icon" href="/static/images/favicon.ico" />
  19
+        <link rel="icon" type="image/x-icon" href="/static/images/favicon.ico" />
  20
+
  21
+        <!-- jquery -->
  22
+        <script type="application/javascript" src="/static/js/jquery-1.8.2.min.js"></script>
  23
+
18 24
 		<!-- library to make json conversions easier -->
19 25
 		<script type="application/javascript" src="/static/js/jquery.json-2.4.min.js"></script>
20 26
 
21 27
 		<!-- the listnav plugin is used on the artists and albums pages -->
22 28
 		<script type="application/javascript" src="/static/js/jquery.listnav.min-2.1.js"></script>
23 29
 
24  
-		<link rel="shortcut icon" type="image/x-icon" href="/static/images/favicon.ico" />
25  
-        <link rel="icon" type="image/x-icon" href="/static/images/favicon.ico" />
  30
+        <!-- sound manager gives us a unified sound api -->
  31
+        <script type="text/javascript" src="/static/js/soundmanager2/soundmanager2.js"></script>
  32
+
  33
+        <!-- musik's javascript library -->
  34
+        <script type="text/javascript" src="/static/js/header.js"></script>
26 35
 
27 36
 	</head>
28 37
 	<body>

0 notes on commit 3889a08

Please sign in to comment.
Something went wrong with that request. Please try again.