aboutsummaryrefslogtreecommitdiffstats
path: root/src/traversing.js
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2011-04-10 16:32:40 -0400
committerjeresig <jeresig@gmail.com>2011-04-10 16:32:40 -0400
commit52f31054fd97e20ba423d406a484885b2639178c (patch)
treec4765eccd03210476b68511533f0f6ebdcf9e128 /src/traversing.js
parentb8fd1f03a6667079f28ce3768e743457a6f33958 (diff)
downloadjquery-52f31054fd97e20ba423d406a484885b2639178c.tar.gz
jquery-52f31054fd97e20ba423d406a484885b2639178c.zip
Fix formatting.
Diffstat (limited to 'src/traversing.js')
-rw-r--r--src/traversing.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/traversing.js b/src/traversing.js
index c46ce45fe..6a971402e 100644
--- a/src/traversing.js
+++ b/src/traversing.js
@@ -60,7 +60,8 @@ jQuery.fn.extend({
},
is: function( selector ) {
- return !!selector && (typeof selector === "string" ? jQuery.filter( selector, this ).length > 0 :
+ return !!selector && (typeof selector === "string" ?
+ jQuery.filter( selector, this ).length > 0 :
this.filter( selector ).length > 0);
},