[前][次][番号順一覧][スレッド一覧]

ruby-changes:27049

From: usa <ko1@a...>
Date: Wed, 6 Feb 2013 17:00:58 +0900 (JST)
Subject: [ruby-changes:27049] usa:r39101 (ruby_1_9_3): * lib/rdoc: Import RDoc 3.9.5.

usa	2013-02-06 17:00:49 +0900 (Wed, 06 Feb 2013)

  New Revision: 39101

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39101

  Log:
    * lib/rdoc: Import RDoc 3.9.5.

  Modified files:
    branches/ruby_1_9_3/lib/rdoc/generator/template/darkfish/js/darkfish.js
    branches/ruby_1_9_3/lib/rdoc.rb
    branches/ruby_1_9_3/version.h

Index: ruby_1_9_3/lib/rdoc.rb
===================================================================
--- ruby_1_9_3/lib/rdoc.rb	(revision 39100)
+++ ruby_1_9_3/lib/rdoc.rb	(revision 39101)
@@ -104,7 +104,7 @@ module RDoc https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/lib/rdoc.rb#L104
   ##
   # RDoc version you are using
 
-  VERSION = '3.9.4'
+  VERSION = '3.9.5'
 
   ##
   # Method visibilities
Index: ruby_1_9_3/lib/rdoc/generator/template/darkfish/js/darkfish.js
===================================================================
--- ruby_1_9_3/lib/rdoc/generator/template/darkfish/js/darkfish.js	(revision 39100)
+++ ruby_1_9_3/lib/rdoc/generator/template/darkfish/js/darkfish.js	(revision 39101)
@@ -73,13 +73,15 @@ function hookQuickSearch() { https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/lib/rdoc/generator/template/darkfish/js/darkfish.js#L73
 function highlightTarget( anchor ) {
 	console.debug( "Highlighting target '%s'.", anchor );
 
-	$("a[name=" + anchor + "]").each( function() {
-		if ( !$(this).parent().parent().hasClass('target-section') ) {
-			console.debug( "Wrapping the target-section" );
-			$('div.method-detail').unwrap( 'div.target-section' );
-			$(this).parent().wrap( '<div class="target-section"></div>' );
-		} else {
-			console.debug( "Already wrapped." );
+	$("a[name]").each( function() {
+		if ( $(this).attr("name") == anchor ) {
+			if ( !$(this).parent().parent().hasClass('target-section') ) {
+				console.debug( "Wrapping the target-section" );
+				$('div.method-detail').unwrap( 'div.target-section' );
+				$(this).parent().wrap( '<div class="target-section"></div>' );
+			} else {
+				console.debug( "Already wrapped." );
+			}
 		}
 	});
 };
Index: ruby_1_9_3/version.h
===================================================================
--- ruby_1_9_3/version.h	(revision 39100)
+++ ruby_1_9_3/version.h	(revision 39101)
@@ -1,5 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/version.h#L1
 #define RUBY_VERSION "1.9.3"
-#define RUBY_PATCHLEVEL 382
+#define RUBY_PATCHLEVEL 383
 
 #define RUBY_RELEASE_DATE "2013-02-06"
 #define RUBY_RELEASE_YEAR 2013

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]