Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Broke >, ~, +, etc - fixed.

  • Loading branch information...
commit bcc8a837055fe720579628d758b7034d6b520f2e 1 parent a2206b7
John Resig authored

Showing 1 changed file with 7 additions and 6 deletions. Show diff stats Hide diff stats

  1. 13  src/jquery/jquery.js
13  src/jquery/jquery.js
@@ -1110,7 +1110,7 @@ jQuery.extend({
1110 1110
 	 * @test t( "Adjacent", "p + p", ["ap","en","sap"] );
1111 1111
 	 * @test t( "Comma, Child, and Adjacent", "a + a, code > a", ["groups","anchor1","anchor2"] );
1112 1112
 	 * @test t( "First Child", "p:first-child", ["firstp","sndp"] );
1113  
-   * @test t( "Attribute Exists", "a[@title]", ["google"] );
  1113
+	 * @test t( "Attribute Exists", "a[@title]", ["google"] );
1114 1114
 	 * @test t( "Attribute Exists", "*[@title]", ["google"] );
1115 1115
 	 * @test t( "Attribute Exists", "[@title]", ["google"] );
1116 1116
 	 * @test t( "Attribute Equals", "a[@rel='bookmark']", ["simon1"] );
@@ -1238,11 +1238,12 @@ jQuery.extend({
1238 1238
 					}
1239 1239
 				}
1240 1240
 	
1241  
-				if ( t ) {
1242  
-					var val = jQuery.filter(t,r);
1243  
-					ret = r = val.r;
1244  
-					t = jQuery.trim(val.t);
1245  
-				}
  1241
+			}
  1242
+
  1243
+			if ( t ) {
  1244
+				var val = jQuery.filter(t,r);
  1245
+				ret = r = val.r;
  1246
+				t = jQuery.trim(val.t);
1246 1247
 			}
1247 1248
 		}
1248 1249
 	

0 notes on commit bcc8a83

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