jQuery
Plugins
UI
Blog
About
Donate
Download
Documentation
Tutorials
Bug Tracker
Discussion
Bug Tracker
Search
Tickets
Go
Tracker Account
Login
About Trac
Preferences
Help/Guide
Register
Bug Tracker
Wiki
Roadmap
Browse Source
View Tickets
Search
Timeline
Ticket #2773
: is.diff
File is.diff,
453 bytes
(added by flesler,
8 months
ago)
core.js
349
349
},
350
350
351
351
is: function( selector ) {
352
return !!selector && jQuery.multiFilter( selector, this ).length > 0;
352
return typeof selector == 'string' ?
353
jQuery.multiFilter( selector, this ).length > 0 :
354
jQuery.inArray( selector, this ) != -1;
353
355
},
354
356
355
357
hasClass: function( selector ) {
Download in other formats:
Original Format