[yelp] yelp-common.xsl: Remove some JS that yelp-xsl now handles



commit e9bfaebe15f7cccd9a6d9f099647c5fc959f6dca
Author: Shaun McCance <shaunm gnome org>
Date:   Sat Nov 3 15:40:49 2012 -0400

    yelp-common.xsl: Remove some JS that yelp-xsl now handles

 data/xslt/yelp-common.xsl.in |   25 -------------------------
 1 files changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/data/xslt/yelp-common.xsl.in b/data/xslt/yelp-common.xsl.in
index 4e7b4d8..d81270c 100644
--- a/data/xslt/yelp-common.xsl.in
+++ b/data/xslt/yelp-common.xsl.in
@@ -110,29 +110,4 @@ a.trail:hover { text-decoration: none; color:  </xsl:text>
 
 <xsl:template name="yelp.css.custom"/>
 
-<!-- == html.js.custom == -->
-<xsl:template name="html.js.custom">
-<script type="text/javascript" language="javascript" src="@DATADIR@/js/jquery-ui-1.8.custom.min.js"/>
-</xsl:template>
-
-<!-- == html.js.content.custom == -->
-<xsl:template name="html.js.content.custom">
-<xsl:text>
-$(document).ready (function () {
-  if (location.hash != '') {
-    var sect = $('#' + location.hash);
-    var hgrp = sect.find('div.hgroup:first')
-    sect.css('background-color',  '</xsl:text><xsl:value-of select="$color.yellow_background"/><xsl:text>');
-    hgrp.css('background-color',  '</xsl:text><xsl:value-of select="$color.yellow_background"/><xsl:text>')
-    window.setTimeout(function () {
-      sect.css('-webkit-transition', 'background-color 2s linear')
-      .css('background-color',  '</xsl:text><xsl:value-of select="$color.background"/><xsl:text>');
-      hgrp.css('-webkit-transition', 'background-color 2s linear')
-      .css('background-color',  '</xsl:text><xsl:value-of select="$color.gray_background"/><xsl:text>');
-    }, 200);
-  }
-});
-</xsl:text>
-</xsl:template>
-
 </xsl:stylesheet>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]