8000 Remove trailing whitespace and add final newlines · faroncoder/jquery-ui@49f9b84 · GitHub
[go: up one dir, main page]

Skip to content

Commit 49f9b84

Browse files
treyhunnerjzaefferer
authored andcommitted
Remove trailing whitespace and add final newlines
1 parent 0bcbfe7 commit 49f9b84

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+440
-440
lines changed

tests/jquery-1.6.1.js

Lines changed: 53 additions & 53 deletions
Large diffs are not rendered by default.

tests/jquery-1.6.2.js

Lines changed: 55 additions & 55 deletions
Large diffs are not rendered by default.

tests/jquery-1.6.3.js

Lines changed: 54 additions & 54 deletions
Large diffs are not rendered by default.

tests/jquery-1.6.4.js

Lines changed: 54 additions & 54 deletions
Large diffs are not rendered by default.

tests/jquery-1.6.js

Lines changed: 65 additions & 65 deletions
Large diffs are not rendered by default.

tests/jquery-1.7.1.js

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -3885,7 +3885,7 @@ var Sizzle = function( selector, context, results, seed ) {
38853885
if ( context.nodeType !== 1 && context.nodeType !== 9 ) {
38863886
return [];
38873887
}
3888-
3888+
38893889
if ( !selector || typeof selector !== "string" ) {
38903890
return results;
38913891
}
@@ -3895,17 +3895,17 @@ var Sizzle = function( selector, context, results, seed ) {
38953895
contextXML = Sizzle.isXML( context ),
38963896
parts = [],
38973897
soFar = selector;
3898-
3898+
38993899
// Reset the position of the chunker regexp (start from head)
39003900
do {
39013901
chunker.exec( "" );
39023902
m = chunker.exec( soFar );
39033903

39043904
if ( m ) {
39053905
soFar = m[3];
3906-
3906+
39073907
parts.push( m[1] );
3908-
3908+
39093909
if ( m[2] ) {
39103910
extra = m[3];
39113911
break;
@@ -3929,7 +3929,7 @@ var Sizzle = function( selector, context, results, seed ) {
39293929
if ( Expr.relative[ selector ] ) {
39303930
selector += parts.shift();
39313931
}
3932-
3932+
39333933
set = posProcess( selector, set, seed );
39343934
}
39353935
}
@@ -4057,7 +4057,7 @@ Sizzle.find = function( expr, context, isXML ) {
40574057

40584058
for ( i = 0, len = Expr.order.length; i < len; i++ ) {
40594059
type = Expr.order[i];
4060-
4060+
40614061
if ( (match = Expr.leftMatch[ type ].exec( expr )) ) {
40624062
left = match[1];
40634063
match.splice( 1, 1 );
@@ -4429,7 +4429,7 @@ var Expr = Sizzle.selectors = {
44294429

44304430
ATTR: function( match, curLoop, inplace, result, not, isXML ) {
44314431
var name = match[1] = match[1].replace( rBackslash, "" );
4432-
4432+
44334433
if ( !isXML && Expr.attrMap[name] ) {
44344434
match[1] = Expr.attrMap[name];
44354435
}
@@ -4463,7 +4463,7 @@ var Expr = Sizzle.selectors = {
44634463
} else if ( Expr.match.POS.test( match[0] ) || Expr.match.CHILD.test( match[0] ) ) {
44644464
return true;
44654465
}
4466-
4466+
44674467
return match;
44684468
},
44694469

@@ -4473,7 +4473,7 @@ var Expr = Sizzle.selectors = {
44734473
return match;
44744474
}
44754475
},
4476-
4476+
44774477
filters: {
44784478
enabled: function( elem ) {
44794479
return elem.disabled === false && elem.type !== "hidden";
@@ -4486,14 +4486,14 @@ var Expr = Sizzle.selectors = {
44864486
checked: function( elem ) {
44874487
return elem.checked === true;
44884488
},
4489-
4489+
44904490
selected: function( elem ) {
44914491
// Accessing this property makes selected-by-default
44924492
// options in Safari work properly
44934493
if ( elem.parentNode ) {
44944494
elem.parentNode.selectedIndex;
44954495
}
4496-
4496+
44974497
return elem.selected === true;
44984498
},
44994499

@@ -4515,7 +4515,7 @@ var Expr = Sizzle.selectors = {
45154515

45164516
text: function( elem ) {
45174517
var attr = elem.getAttribute( "type" ), type = elem.type;
4518-
// IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc)
4518+
// IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc)
45194519
// use getAttribute instead to test this case
45204520
return elem.nodeName.toLowerCase() === "input" && "text" === type && ( attr === type || attr === null );
45214521
},
@@ -4634,21 +4634,21 @@ var Expr = Sizzle.selectors = {
46344634
case "only":
46354635
case "first":
46364636
while ( (node = node.previousSibling) ) {
4637-
if ( node.nodeType === 1 ) {
4638-
return false;
4637+
if ( node.nodeType === 1 ) {
4638+
return false;
46394639
}
46404640
}
46414641

4642-
if ( type === "first" ) {
4643-
return true;
4642+
if ( type === "first" ) {
4643+
return true;
46444644
}
46454645

46464646
node = elem;
46474647

46484648
case "last":
46494649
while ( (node = node.nextSibling) ) {
4650-
if ( node.nodeType === 1 ) {
4651-
return false;
4650+
if ( node.nodeType === 1 ) {
4651+
return false;
46524652
}
46534653
}
46544654

@@ -4661,22 +4661,22 @@ var Expr = Sizzle.selectors = {
46614661
if ( first === 1 && last === 0 ) {
46624662
return true;
46634663
}
4664-
4664+
46654665
doneName = match[0];
46664666
parent = elem.parentNode;
4667-
4667+
46684668
if ( parent && (parent[ expando ] !== doneName || !elem.nodeIndex) ) {
46694669
count = 0;
4670-
4670+
46714671
for ( node = parent.firstChild; node; node = node.nextSibling ) {
46724672
if ( node.nodeType === 1 ) {
46734673
node.nodeIndex = ++count;
46744674
}
4675-
}
4675+
}
46764676

46774677
parent[ expando ] = doneName;
46784678
}
4679-
4679+
46804680
diff = elem.nodeIndex - last;
46814681

46824682
if ( first === 0 ) {
@@ -4695,7 +4695,7 @@ var Expr = Sizzle.selectors = {
46954695
TAG: function( elem, match ) {
46964696
return (match === "*" && elem.nodeType === 1) || !!elem.nodeName && elem.nodeName.toLowerCase() === match;
46974697
},
4698-
4698+
46994699
CLASS: function( elem, match ) {
47004700
return (" " + (elem.className || elem.getAttribute("class")) + " ")
47014701
.indexOf( match ) > -1;
@@ -4765,7 +4765,7 @@ var makeArray = function( array, results ) {
47654765
results.push.apply( results, array );
47664766
return results;
47674767
}
4768-
4768+
47694769
return array;
47704770
};
47714771

@@ -4997,7 +4997,7 @@ if ( document.querySelectorAll ) {
49974997
if ( div.querySelectorAll && div.querySelectorAll(".TEST").length === 0 ) {
49984998
return;
49994999
}
5000-
5000+
50015001
Sizzle = function( query, context, extra, seed ) {
50025002
context = context || document;
50035003

@@ -5006,24 +5006,24 @@ if ( document.querySelectorAll ) {
50065006
if ( !seed && !Sizzle.isXML(context) ) {
50075007
// See if we find a selector to speed up
50085008
var match = /^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec( query );
5009-
5009+
50105010
if ( match && (context.nodeType === 1 || context.nodeType === 9) ) {
50115011
// Speed-up: Sizzle("TAG")
50125012
if ( match[1] ) {
50135013
return makeArray( context.getElementsByTagName( query ), extra );
5014-
5014+
50155015
// Speed-up: Sizzle(".CLASS")
50165016
} else if ( match[2] && Expr.find.CLASS && context.getElementsByClassName ) {
50175017
return makeArray( context.getElementsByClassName( match[2] ), extra );
50185018
}
50195019
}
5020-
5020+
50215021
if ( context.nodeType === 9 ) {
50225022
// Speed-up: Sizzle("body")
50235023
// The body element only exists once, optimize finding it
50245024
if ( query === "body" && context.body ) {
50255025
return makeArray( [ context.body ], extra );
5026-
5026+
50275027
// Speed-up: Sizzle("#ID")
50285028
} else if ( match && match[3] ) {
50295029
var elem = context.getElementById( match[3] );
@@ -5036,12 +5036,12 @@ if ( document.querySelectorAll ) {
50365036
if ( elem.id === match[3] ) {
50375037
return makeArray( [ elem ], extra );
50385038
}
5039-
5039+
50405040
} else {
50415041
return makeArray( [], extra );
50425042
}
50435043
}
5044-
5044+
50455045
try {
50465046
return makeArray( context.querySelectorAll(query), extra );
50475047
} catch(qsaError) {}
@@ -5079,7 +5079,7 @@ if ( document.querySelectorAll ) {
50795079
}
50805080
}
50815081
}
5082-
5082+
50835083
return oldSizzle(query, context, extra, seed);
50845084
};
50855085

@@ -5106,7 +5106,7 @@ if ( document.querySelectorAll ) {
51065106
// This should fail with an exception
51075107
// Gecko does not error, returns false instead
51085108
matches.call( document.documentElement, "[test!='']:sizzle" );
5109-
5109+
51105110
} catch( pseudoError ) {
51115111
pseudoWorks = true;
51125112
}
@@ -5116,7 +5116,7 @@ if ( document.querySelectorAll ) {
51165116
expr = expr.replace(/\=\s*([^'"\]]*)\s*\]/g, "='$1']");
51175117

51185118
if ( !Sizzle.isXML( node ) ) {
5119-
try {
5119+
try {
51205120
if ( pseudoWorks || !Expr.match.PSEUDO.test( expr ) && !/!=/.test( expr ) ) {
51215121
var ret = matches.call( node, expr );
51225122

@@ -5153,7 +5153,7 @@ if ( document.querySelectorAll ) {
51535153
if ( div.getElementsByClassName("e").length === 1 ) {
51545154
return;
51555155
}
5156-
5156+
51575157
Expr.order.splice(1, 0, "CLASS");
51585158
Expr.find.CLASS = function( match, context, isXML ) {
51595159
if ( typeof context.getElementsByClassName !== "undefined" && !isXML ) {
@@ -5204,7 +5204,7 @@ function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
52045204

52055205
if ( elem ) {
52065206
var match = false;
5207-
5207+
52085208
elem = elem[dir];
52095209

52105210
while ( elem ) {
@@ -5257,7 +5257,7 @@ if ( document.documentElement.contains ) {
52575257

52585258
Sizzle.isXML = function( elem ) {
52595259
// documentElement is verified for cases where it doesn't yet exist
5260-
// (such as loading iframes in IE - #4833)
5260+
// (such as loading iframes in IE - #4833)
52615261
var documentElement = (elem ? elem.ownerDocument || elem : 0).documentElement;
52625262

52635263
return documentElement ? documentElement.nodeName !== "HTML" : false;
@@ -5374,19 +5374,19 @@ jQuery.fn.extend({
53745374
},
53755375

53765376
is: function( selector ) {
5377-
return !!selector && (
5377+
return !!selector && (
53785378
typeof selector === "string" ?
53795379
// If this is a positional selector, check membership in the returned set
53805380
// so $("p:first").is("p:last") won't return true for a doc with two "p".
5381-
POS.test( selector ) ?
5381+
POS.test( selector ) ?
53825382
jQuery( selector, this.context ).index( this[0] ) >= 0 :
53835383
jQuery.filter( selector, this ).length > 0 :
53845384
this.filter( selector ).length > 0 );
53855385
},
53865386

53875387
closest: function( selectors, context ) {
53885388
var ret = [], i, l, cur = this[0];
5389-
5389+
53905390
// Array (deprecated as of jQuery 1.7)
53915391
if ( jQuery.isArray( selectors ) ) {
53925392
var level = 1;

tests/jquery-1.7.2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3645,7 +3645,7 @@ if ( !jQuery.support.submitBubbles ) {
36453645
});
36463646
// return undefined since we don't need an event listener
36473647
},
3648-
3648+
36493649
postDispatch: function( event ) {
36503650
// If form was submitted by the user, bubble the event up the tree
36513651
if ( event._submit_bubble ) {

0 commit comments

Comments
 (0)
0