You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by va...@apache.org on 2013/01/15 14:27:44 UTC

svn commit: r1433405 - /ode/site/trunk/templates/skeleton.html

Author: vanto
Date: Tue Jan 15 13:27:43 2013
New Revision: 1433405

URL: http://svn.apache.org/viewvc?rev=1433405&view=rev
Log:
moving JS script to head.

Modified:
    ode/site/trunk/templates/skeleton.html

Modified: ode/site/trunk/templates/skeleton.html
URL: http://svn.apache.org/viewvc/ode/site/trunk/templates/skeleton.html?rev=1433405&r1=1433404&r2=1433405&view=diff
==============================================================================
--- ode/site/trunk/templates/skeleton.html (original)
+++ ode/site/trunk/templates/skeleton.html Tue Jan 15 13:27:43 2013
@@ -13,6 +13,20 @@
 
     {% if headers.base %}<base href="{{ headers.base }}" />{% endif %}
     {% if headers.notice %}<!-- {{ headers.notice }} -->{% endif %}
+
+    <script src="http://code.jquery.com/jquery-latest.js"></script>
+    <script src="/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-36293077-1']);
+      _gaq.push(['_trackPageview']);
+
+      (function() {
+        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+      })();
+    </script>
   </head>
   <body>
 
@@ -119,19 +133,5 @@
         </div>
       </footer>
     </div> <!-- /container -->
-    <script src="http://code.jquery.com/jquery-latest.js"></script>
-    <script src="/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-    var _gaq = _gaq || [];
-    _gaq.push(['_setAccount', 'UA-36293077-1']);
-    _gaq.push(['_trackPageview']);
-
-    (function() {
-      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-    })();
-
-  </script>
   </body>
 </html>
\ No newline at end of file