aboutsummaryrefslogtreecommitdiffstats
path: root/src/core.js
diff options
context:
space:
mode:
authorAnton Ryzhov <anton@ryzhov.me>2011-08-17 18:56:21 +0400
committerAnton Ryzhov <anton@ryzhov.me>2011-08-17 18:56:21 +0400
commit190136cf6132620327a86274fb108fabf55a1d4f (patch)
tree114e21d8e47473938122424740ac10ca35021867 /src/core.js
parent9c18eb2c15a762b4f3137fef9897914c80083a89 (diff)
downloadjquery-190136cf6132620327a86274fb108fabf55a1d4f.tar.gz
jquery-190136cf6132620327a86274fb108fabf55a1d4f.zip
Unit test for this case
Codestyle fixes
Diffstat (limited to 'src/core.js')
-rw-r--r--src/core.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core.js b/src/core.js
index db832a0bf..eb24a69a4 100644
--- a/src/core.js
+++ b/src/core.js
@@ -678,8 +678,7 @@ jQuery.extend({
},
inArray: function( elem, array ) {
- if (!jQuery.isArray(array))
- {
+ if ( !array ) {
return -1;
}