From: Sheldon M. <she...@us...> - 2008-08-25 18:33:58
|
Update of /cvsroot/gmod/Generic-Genome-Browser/conf/plugins In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv26837 Modified Files: Tag: stable PrimerDesigner.pm Log Message: Fixed missing JS lib and also relative URL lookup Index: PrimerDesigner.pm =================================================================== RCS file: /cvsroot/gmod/Generic-Genome-Browser/conf/plugins/PrimerDesigner.pm,v retrieving revision 1.3.6.1.6.12 retrieving revision 1.3.6.1.6.13 diff -C2 -d -r1.3.6.1.6.12 -r1.3.6.1.6.13 *** PrimerDesigner.pm 18 Jul 2008 10:41:53 -0000 1.3.6.1.6.12 --- PrimerDesigner.pm 25 Aug 2008 18:34:05 -0000 1.3.6.1.6.13 *************** *** 91,95 **** use constant MAX_SEGMENT => 1_000_000; use constant OVERVIEW_RATIO => 0.9; ! use vars '@ISA'; --- 91,95 ---- use constant MAX_SEGMENT => 1_000_000; use constant OVERVIEW_RATIO => 0.9; ! use constant JS => '/gbrowse/js'; use vars '@ISA'; *************** *** 322,333 **** $self->reconfigure; # dumpers provide their own headers, so make sure boiler plate # stuff is included my $style_sheet = $self->browser_config->setting('stylesheet') || STYLE; my $head = <<END; ! <script src="/gbrowse/js/yahoo-dom-event.js" type="text/javascript"></script> ! <script src="/gbrowse/js/rubber.js" type="text/javascript"></script> ! <script src="/gbrowse/js/primerSelect.js" type="text/javascript"></script> ! <script src="/gbrowse/js/balloon.js" type="text/javascript"></script> <script> var balloon = new Balloon; --- 322,336 ---- $self->reconfigure; + my $js = $self->browser_config->relative_path_setting('js') || JS; + # dumpers provide their own headers, so make sure boiler plate # stuff is included my $style_sheet = $self->browser_config->setting('stylesheet') || STYLE; my $head = <<END; ! <script src="$js/yahoo-dom-event.js" type="text/javascript"></script> ! <script src="$js/rubber.js" type="text/javascript"></script> ! <script src="$js/primerSelect.js" type="text/javascript"></script> ! <script src="$js/balloon.config.js" type="text/javascript"></script> ! <script src="$js/balloon.js" type="text/javascript"></script> <script> var balloon = new Balloon; |