Skip to content
Permalink
Browse files

Remove trailing whitespace and add final newlines

  • Loading branch information...
treyhunner authored and jzaefferer committed Oct 22, 2012
1 parent 0bcbfe7 commit 49f9b849b9c5023f138e8932510b11bfc9765814
Showing with 440 additions and 440 deletions.
  1. +53 −53 tests/jquery-1.6.1.js
  2. +55 −55 tests/jquery-1.6.2.js
  3. +54 −54 tests/jquery-1.6.3.js
  4. +54 −54 tests/jquery-1.6.4.js
  5. +65 −65 tests/jquery-1.6.js
  6. +41 −41 tests/jquery-1.7.1.js
  7. +1 −1 tests/jquery-1.7.2.js
  8. +41 −41 tests/jquery-1.7.js
  9. +1 −1 tests/jquery-1.8.0.js
  10. +2 −2 tests/jquery.simulate.js
  11. +3 −3 tests/unit/dialog/dialog_tickets.js
  12. +1 −1 ui/i18n/jquery.ui.datepicker-ar.js
  13. +1 −1 ui/i18n/jquery.ui.datepicker-az.js
  14. +5 −5 ui/i18n/jquery.ui.datepicker-bs.js
  15. +1 −1 ui/i18n/jquery.ui.datepicker-cy-GB.js
  16. +1 −1 ui/i18n/jquery.ui.datepicker-el.js
  17. +1 −1 ui/i18n/jquery.ui.datepicker-es.js
  18. +1 −1 ui/i18n/jquery.ui.datepicker-et.js
  19. +1 −1 ui/i18n/jquery.ui.datepicker-eu.js
  20. +3 −3 ui/i18n/jquery.ui.datepicker-fa.js
  21. +1 −1 ui/i18n/jquery.ui.datepicker-fr-CH.js
  22. +1 −1 ui/i18n/jquery.ui.datepicker-gl.js
  23. +1 −1 ui/i18n/jquery.ui.datepicker-hr.js
  24. +1 −1 ui/i18n/jquery.ui.datepicker-hy.js
  25. +1 −1 ui/i18n/jquery.ui.datepicker-id.js
  26. +1 −1 ui/i18n/jquery.ui.datepicker-is.js
  27. +1 −1 ui/i18n/jquery.ui.datepicker-ja.js
  28. +1 −1 ui/i18n/jquery.ui.datepicker-ko.js
  29. +1 −1 ui/i18n/jquery.ui.datepicker-lt.js
  30. +1 −1 ui/i18n/jquery.ui.datepicker-lv.js
  31. +1 −1 ui/i18n/jquery.ui.datepicker-ml.js
  32. +1 −1 ui/i18n/jquery.ui.datepicker-ms.js
  33. +1 −1 ui/i18n/jquery.ui.datepicker-nl.js
  34. +1 −1 ui/i18n/jquery.ui.datepicker-pt-BR.js
  35. +1 −1 ui/i18n/jquery.ui.datepicker-pt.js
  36. +1 −1 ui/i18n/jquery.ui.datepicker-ru.js
  37. +1 −1 ui/i18n/jquery.ui.datepicker-th.js
  38. +1 −1 ui/i18n/jquery.ui.datepicker-tj.js
  39. +1 −1 ui/i18n/jquery.ui.datepicker-tr.js
  40. +1 −1 ui/i18n/jquery.ui.datepicker-uk.js
  41. +12 −12 ui/jquery.ui.datepicker.js
  42. +20 −20 ui/jquery.ui.draggable.js
  43. +1 −1 ui/jquery.ui.effect-highlight.js
  44. +1 −1 ui/jquery.ui.mouse.js
  45. +1 −1 ui/jquery.ui.resizable.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

@@ -3885,7 +3885,7 @@ var Sizzle = function( selector, context, results, seed ) {
if ( context.nodeType !== 1 && context.nodeType !== 9 ) {
return [];
}

if ( !selector || typeof selector !== "string" ) {
return results;
}
@@ -3895,17 +3895,17 @@ var Sizzle = function( selector, context, results, seed ) {
contextXML = Sizzle.isXML( context ),
parts = [],
soFar = selector;

// Reset the position of the chunker regexp (start from head)
do {
chunker.exec( "" );
m = chunker.exec( soFar );

if ( m ) {
soFar = m[3];

parts.push( m[1] );

if ( m[2] ) {
extra = m[3];
break;
@@ -3929,7 +3929,7 @@ var Sizzle = function( selector, context, results, seed ) {
if ( Expr.relative[ selector ] ) {
selector += parts.shift();
}

set = posProcess( selector, set, seed );
}
}
@@ -4057,7 +4057,7 @@ Sizzle.find = function( expr, context, isXML ) {

for ( i = 0, len = Expr.order.length; i < len; i++ ) {
type = Expr.order[i];

if ( (match = Expr.leftMatch[ type ].exec( expr )) ) {
left = match[1];
match.splice( 1, 1 );
@@ -4429,7 +4429,7 @@ var Expr = Sizzle.selectors = {

ATTR: function( match, curLoop, inplace, result, not, isXML ) {
var name = match[1] = match[1].replace( rBackslash, "" );

if ( !isXML && Expr.attrMap[name] ) {
match[1] = Expr.attrMap[name];
}
@@ -4463,7 +4463,7 @@ var Expr = Sizzle.selectors = {
} else if ( Expr.match.POS.test( match[0] ) || Expr.match.CHILD.test( match[0] ) ) {
return true;
}

return match;
},

@@ -4473,7 +4473,7 @@ var Expr = Sizzle.selectors = {
return match;
}
},

filters: {
enabled: function( elem ) {
return elem.disabled === false && elem.type !== "hidden";
@@ -4486,14 +4486,14 @@ var Expr = Sizzle.selectors = {
checked: function( elem ) {
return elem.checked === true;
},

selected: function( elem ) {
// Accessing this property makes selected-by-default
// options in Safari work properly
if ( elem.parentNode ) {
elem.parentNode.selectedIndex;
}

return elem.selected === true;
},

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

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

if ( type === "first" ) {
return true;
if ( type === "first" ) {
return true;
}

node = elem;

case "last":
while ( (node = node.nextSibling) ) {
if ( node.nodeType === 1 ) {
return false;
if ( node.nodeType === 1 ) {
return false;
}
}

@@ -4661,22 +4661,22 @@ var Expr = Sizzle.selectors = {
if ( first === 1 && last === 0 ) {
return true;
}

doneName = match[0];
parent = elem.parentNode;

if ( parent && (parent[ expando ] !== doneName || !elem.nodeIndex) ) {
count = 0;

for ( node = parent.firstChild; node; node = node.nextSibling ) {
if ( node.nodeType === 1 ) {
node.nodeIndex = ++count;
}
}
}

parent[ expando ] = doneName;
}

diff = elem.nodeIndex - last;

if ( first === 0 ) {
@@ -4695,7 +4695,7 @@ var Expr = Sizzle.selectors = {
TAG: function( elem, match ) {
return (match === "*" && elem.nodeType === 1) || !!elem.nodeName && elem.nodeName.toLowerCase() === match;
},

CLASS: function( elem, match ) {
return (" " + (elem.className || elem.getAttribute("class")) + " ")
.indexOf( match ) > -1;
@@ -4765,7 +4765,7 @@ var makeArray = function( array, results ) {
results.push.apply( results, array );
return results;
}

return array;
};

@@ -4997,7 +4997,7 @@ if ( document.querySelectorAll ) {
if ( div.querySelectorAll && div.querySelectorAll(".TEST").length === 0 ) {
return;
}

Sizzle = function( query, context, extra, seed ) {
context = context || document;

@@ -5006,24 +5006,24 @@ if ( document.querySelectorAll ) {
if ( !seed && !Sizzle.isXML(context) ) {
// See if we find a selector to speed up
var match = /^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec( query );

if ( match && (context.nodeType === 1 || context.nodeType === 9) ) {
// Speed-up: Sizzle("TAG")
if ( match[1] ) {
return makeArray( context.getElementsByTagName( query ), extra );

// Speed-up: Sizzle(".CLASS")
} else if ( match[2] && Expr.find.CLASS && context.getElementsByClassName ) {
return makeArray( context.getElementsByClassName( match[2] ), extra );
}
}

if ( context.nodeType === 9 ) {
// Speed-up: Sizzle("body")
// The body element only exists once, optimize finding it
if ( query === "body" && context.body ) {
return makeArray( [ context.body ], extra );

// Speed-up: Sizzle("#ID")
} else if ( match && match[3] ) {
var elem = context.getElementById( match[3] );
@@ -5036,12 +5036,12 @@ if ( document.querySelectorAll ) {
if ( elem.id === match[3] ) {
return makeArray( [ elem ], extra );
}

} else {
return makeArray( [], extra );
}
}

try {
return makeArray( context.querySelectorAll(query), extra );
} catch(qsaError) {}
@@ -5079,7 +5079,7 @@ if ( document.querySelectorAll ) {
}
}
}

return oldSizzle(query, context, extra, seed);
};

@@ -5106,7 +5106,7 @@ if ( document.querySelectorAll ) {
// This should fail with an exception
// Gecko does not error, returns false instead
matches.call( document.documentElement, "[test!='']:sizzle" );

} catch( pseudoError ) {
pseudoWorks = true;
}
@@ -5116,7 +5116,7 @@ if ( document.querySelectorAll ) {
expr = expr.replace(/\=\s*([^'"\]]*)\s*\]/g, "='$1']");

if ( !Sizzle.isXML( node ) ) {
try {
try {
if ( pseudoWorks || !Expr.match.PSEUDO.test( expr ) && !/!=/.test( expr ) ) {
var ret = matches.call( node, expr );

@@ -5153,7 +5153,7 @@ if ( document.querySelectorAll ) {
if ( div.getElementsByClassName("e").length === 1 ) {
return;
}

Expr.order.splice(1, 0, "CLASS");
Expr.find.CLASS = function( match, context, isXML ) {
if ( typeof context.getElementsByClassName !== "undefined" && !isXML ) {
@@ -5204,7 +5204,7 @@ function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {

if ( elem ) {
var match = false;

elem = elem[dir];

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

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

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

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

closest: function( selectors, context ) {
var ret = [], i, l, cur = this[0];

// Array (deprecated as of jQuery 1.7)
if ( jQuery.isArray( selectors ) ) {
var level = 1;
@@ -3645,7 +3645,7 @@ if ( !jQuery.support.submitBubbles ) {
});
// return undefined since we don't need an event listener
},

postDispatch: function( event ) {
// If form was submitted by the user, bubble the event up the tree
if ( event._submit_bubble ) {

0 comments on commit 49f9b84

Please sign in to comment.
You can’t perform that action at this time.